[cfe-commits] r141488 - /cfe/trunk/lib/Frontend/CompilerInstance.cpp

NAKAMURA Takumi geek4civic at gmail.com
Sat Oct 8 04:31:58 PDT 2011


Author: chapuni
Date: Sat Oct  8 06:31:58 2011
New Revision: 141488

URL: http://llvm.org/viewvc/llvm-project?rev=141488&view=rev
Log:
lib/Frontend/CompilerInstance.cpp: Suppress a "Comparision of unsigned and signed" warning on Cygwin gcc-4.3.4.

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=141488&r1=141487&r2=141488&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Sat Oct  8 06:31:58 2011
@@ -925,7 +925,7 @@
 #if LLVM_ON_WIN32
            Interval < MaxSeconds * 1000
 #else
-           Interval.tv_sec < MaxSeconds
+           Interval.tv_sec < (time_t)MaxSeconds
 #endif
            );
 





More information about the cfe-commits mailing list