From d70f8a500e5af78929c709002df9519150c0e69f Mon Sep 17 00:00:00 2001 From: Graham Bennett Date: Sat, 22 Oct 2022 15:02:04 +0100 Subject: [PATCH] fixup! wip: fix C++20 warnings --- src/libstore/build/worker.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index b192fbc778dc..75406bec9e97 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' "