about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-07T13·37+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-07T13·37+0100
commit9aac1861f7c25d34212235bfd86f71312904e29e (patch)
tree1dc751f6cee0d52eb42fbe58000eaeddf950b400 /src/libstore/build.cc
parent94595f42eb829771ed5f757cb71d8830f10a4ef3 (diff)
Fix some signedness warnings
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 54f905798ee2..a124b2b14764 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3731,7 +3731,7 @@ void Worker::waitForInput()
         }
     }
 
-    if (!waitingForAWhile.empty() && lastWokenUp + settings.pollInterval <= after) {
+    if (!waitingForAWhile.empty() && lastWokenUp + (time_t) settings.pollInterval <= after) {
         lastWokenUp = after;
         for (auto & i : waitingForAWhile) {
             GoalPtr goal = i.lock();