folly/wangle/channel/ChannelPipeline.h: avoid -Wsign-compare errors (trivial)
Summary: * folly/wangle/channel/ChannelPipeline.h: Declare for-loop indices to be of type size_t(not int), to match size of upper bound. Otherwise, gcc-4.9 fails with e.g., folly/wangle/channel/ChannelPipeline.h:126:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] Test Plan: Run this and note there are fewer errors than before: fbconfig --platform-all=gcc-4.9-glibc-2.20 -r folly && fbmake dbgo Reviewed By: davejwatson@fb.com Subscribers: fugalh, folly-diffs@ FB internal diff: D1767783 Tasks: 5941250 Signature: t1:1767783:1420587925:d662b75e6a62ebd5bacdde28ad6e1da22ef777ac
Showing
Please register or sign in to comment