Permalink
Browse files

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
  • Loading branch information...
1 parent 6b4082e commit d0dd99c72868ecc485b332c42aeaff07d6025050 @alikhtarov alikhtarov committed with jdelong Sep 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 folly/SmallLocks.h
View
@@ -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;

0 comments on commit d0dd99c

Please sign in to comment.