fix liger contbuild: cast offset_bytes to unsigned
authorYang Chi <yangchi@fb.com>
Fri, 4 Mar 2016 16:54:08 +0000 (08:54 -0800)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Fri, 4 Mar 2016 17:05:19 +0000 (09:05 -0800)
commite5ea40ea3a29db7551752d74465130414b0f542e
tree4b5717b1b43f4000d2a559e0094bd6e32233319b
parent3edc6278eab6f2b2ea79f75344c8a6711e80fa45
fix liger contbuild: cast offset_bytes to unsigned

Summary: Apparently I don't know what I'm doing. But given lock_ is 8bit and the assert, I suppose cast offset_bytes to unsigned is safe.

Reviewed By: dcolascione

Differential Revision: D3010732

fb-gh-sync-id: 1f3440a72d2f0b2fb145ab36966f0382a3009e0c
shipit-source-id: 1f3440a72d2f0b2fb145ab36966f0382a3009e0c
folly/MicroLock.h