folly/gen/Parallel-inl.h: trivial -Wsign-compare fix
[folly.git] / folly / gen / Parallel-inl.h
index ab37f7d82c3c95400cf445e03f23582b4cb71c6b..666acb16d1e356c6a192ce177bb2af899cb6d931 100644 (file)
@@ -239,7 +239,7 @@ class Parallel : public Operator<Parallel<Ops>> {
             ops_(ops) {
         inQueue_.openProducer();
         outQueue_.openConsumer();
-        for (int t = 0; t < threads; ++t) {
+        for (size_t t = 0; t < threads; ++t) {
           inQueue_.openConsumer();
           outQueue_.openProducer();
           workers_.emplace_back([this] {