Fix clang build for MicroLock
authorMax Warsewa <mwa@fb.com>
Fri, 4 Mar 2016 22:32:48 +0000 (14:32 -0800)
committerFacebook Github Bot 3 <facebook-github-bot-3-bot@fb.com>
Fri, 4 Mar 2016 22:35:25 +0000 (14:35 -0800)
commit2f595596190c768c6c074c93c878ef8b9144fe55
tree2c644e41da698661da583c07080d83867327ed17
parentcb8456bddf1fd695293d5668c4048f8d519c7f32
Fix clang build for MicroLock

Summary: clang would complain about losing integer precision. Use unsigned for offset calculation.

Reviewed By: luciang

Differential Revision: D3011253

fb-gh-sync-id: 10cb603708a22bf0e57f41b2486ffca4f5bf7a14
shipit-source-id: 10cb603708a22bf0e57f41b2486ffca4f5bf7a14
folly/MicroLock.h