folly/wangle/channel/ChannelPipeline.h: avoid -Wsign-compare errors (trivial)
authorJim Meyering <meyering@fb.com>
Tue, 6 Jan 2015 23:15:46 +0000 (15:15 -0800)
committerViswanath Sivakumar <viswanath@fb.com>
Tue, 13 Jan 2015 19:01:04 +0000 (11:01 -0800)
commit042bbfeb7aee1aa37567d48d1dc50eb4d82b5811
tree1d25f75d5e206c372d08dc58b66bfdc0ad578f1c
parent32172a247c5f7ad8cb0beef53be26248a27a1967
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
folly/wangle/channel/ChannelPipeline.h