diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-05-04 11:31:39 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-05-04 11:31:39 +0200 |
commit | 107613ad2b2b61ef92edf9ee53ec71ad664be71b (patch) | |
tree | 26f93c989175825996538b6e8aae4af5ed28bfa0 /src/libstore/build | |
parent | 3e87c8e62b3eacecde4e9f467b5463fbbdaa6a3f (diff) |
Fix compiler warning
Diffstat (limited to 'src/libstore/build')
-rw-r--r-- | src/libstore/build/worker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index e7c01a737..b192fbc77 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -350,7 +350,7 @@ void Worker::waitForInput() become `available'. Note that `available' (i.e., non-blocking) includes EOF. */ std::vector<struct pollfd> pollStatus; - std::map <int, int> fdToPollStatus; + std::map<int, size_t> fdToPollStatus; for (auto & i : children) { for (auto & j : i.fds) { pollStatus.push_back((struct pollfd) { .fd = j, .events = POLLIN }); |