projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Timestamping callback interface in folly::AsyncSocket
[folly.git]
/
folly
/
ConcurrentSkipList.h
diff --git
a/folly/ConcurrentSkipList.h
b/folly/ConcurrentSkipList.h
index a1193837b011095b3768170af2fcc1dcef43224e..7d5cb9589c478fa2bcdf916a623d9149bf0fab10 100644
(file)
--- a/
folly/ConcurrentSkipList.h
+++ b/
folly/ConcurrentSkipList.h
@@
-718,7
+718,7
@@
class ConcurrentSkipList<T, Comp, NodeAlloc, MAX_HEIGHT>::Skipper {
}
int max_layer = maxLayer();
for (int i = 0; i < max_layer; ++i) {
- hints_[i] =
i + 1
;
+ hints_[i] =
uint8_t(i + 1)
;
}
hints_[max_layer] = max_layer;
}