summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index c413a42f44a..55264870b8b 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/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
);
OpenPOWER on IntegriCloud