From: Anton Likhtarov Date: Fri, 14 Sep 2012 00:01:29 +0000 (-0700) Subject: folly/SmallLocks.h compiler warning X-Git-Tag: v0.22.0~1185 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0dd99c72868ecc485b332c42aeaff07d6025050;p=folly.git folly/SmallLocks.h compiler warning Summary: Couldn't get an HPHP extension to compile against this Test Plan: compiled HPHP including folly/dynamic.h Reviewed By: delong.j@fb.com FB internal diff: D574364 --- diff --git a/folly/SmallLocks.h b/folly/SmallLocks.h index 91d2546a..51abb97c 100644 --- a/folly/SmallLocks.h +++ b/folly/SmallLocks.h @@ -59,7 +59,7 @@ namespace detail { * spinning, and falls back to sleeping for small quantums. */ class Sleeper { - static const int32_t kMaxActiveSpin = 4000; + static const uint32_t kMaxActiveSpin = 4000; uint32_t spinCount;