aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.cc
diff options
context:
space:
mode:
authorGraham Bennett <graham@grahambennett.org>2022-10-22 14:25:35 +0100
committerGraham Bennett <graham@grahambennett.org>2022-10-22 15:16:46 +0100
commit4563e803633d44ec57dfc4515f0c42c8855c018b (patch)
treeb9230e47e2076befd918e733fc2d8dd426f18589 /src/libstore/build/worker.cc
parentc5fd34a14e2a271b66839b35f500caeae3368be2 (diff)
Fix C++20 warnings
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r--src/libstore/build/worker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc
index b192fbc77..75406bec9 100644
--- a/src/libstore/build/worker.cc
+++ b/src/libstore/build/worker.cc
@@ -276,7 +276,7 @@ void Worker::run(const Goals & _topGoals)
if (!children.empty() || !waitingForAWhile.empty())
waitForInput();
else {
- if (awake.empty() && 0 == settings.maxBuildJobs)
+ if (awake.empty() && 0U == settings.maxBuildJobs)
{
if (getMachines().empty())
throw Error("unable to start any build; either increase '--max-jobs' "