folly/test/SpinLockTest.cpp: avoid -Wsign-compare error (trivial)
authorJim Meyering <meyering@fb.com>
Wed, 7 Jan 2015 05:15:27 +0000 (21:15 -0800)
committerViswanath Sivakumar <viswanath@fb.com>
Tue, 13 Jan 2015 19:01:04 +0000 (11:01 -0800)
commit3d4f7737d0b4142530501c0d9f4a18e51b0ffaa7
tree7380f8574d7b9599ae083f4f8bdd38836fdb603a
parent5227dcf2ad201b405b767e58b013952198d822d7
folly/test/SpinLockTest.cpp: avoid -Wsign-compare error (trivial)

Summary:
* folly/test/SpinLockTest.cpp (trylockTestThread):
Change parameter type from int to size_t, to fix these:
folly/test/SpinLockTest.cpp:67:25: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
folly/test/SpinLockTest.cpp:82:60: 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: philipp@fb.com

Subscribers: net-systems@, folly-diffs@

FB internal diff: D1770564

Tasks: 5941250

Signature: t1:1770564:1420674373:fa3020398e2df66590eb71f798419b6f555d07c4
folly/test/SpinLockTest.cpp