From 33004ecfb75d15a91eedb9ec7a5bc182ff96c6f8 Mon Sep 17 00:00:00 2001 From: gangliao Date: Fri, 4 Nov 2016 00:43:24 -0700 Subject: [PATCH] Fix glog check type unmatch in Util.cpp (#353) * Fix glog check type unmatch in Util.cpp #352 --- paddle/utils/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/utils/Util.cpp b/paddle/utils/Util.cpp index 45251213d..2cdff9d1a 100644 --- a/paddle/utils/Util.cpp +++ b/paddle/utils/Util.cpp @@ -106,7 +106,7 @@ pid_t getTID() { #endif pid_t tid = syscall(__NR_gettid); #endif - CHECK_NE(tid, -1); + CHECK_NE((int)tid, -1); return tid; } -- GitLab