From d0dd99c72868ecc485b332c42aeaff07d6025050 Mon Sep 17 00:00:00 2001 From: Anton Likhtarov Date: Thu, 13 Sep 2012 17:01:29 -0700 Subject: [PATCH] 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 --- folly/SmallLocks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1