aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-08 11:31:58 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-08 11:31:58 +0000
commit0caed281f7f47713ae8be61ed75bac03596e1add (patch)
treeea98339dcfbaa2ed4824d274f01edbe272545132
parent96e21710e8bf64514ca7d3720cb3b2823eec9164 (diff)
lib/Frontend/CompilerInstance.cpp: Suppress a "Comparision of unsigned and signed" warning on Cygwin gcc-4.3.4.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141488 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp
index c413a42f44..55264870b8 100644
--- a/lib/Frontend/CompilerInstance.cpp
+++ b/lib/Frontend/CompilerInstance.cpp
@@ -925,7 +925,7 @@ void LockFileManager::waitForUnlock() {
#if LLVM_ON_WIN32
Interval < MaxSeconds * 1000
#else
- Interval.tv_sec < MaxSeconds
+ Interval.tv_sec < (time_t)MaxSeconds
#endif
);