projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow folly to compile cleanly with most of the rest of MSVC's sign mismatch warnings
[folly.git]
/
folly
/
Random.cpp
diff --git
a/folly/Random.cpp
b/folly/Random.cpp
index d991990e28b60944287529cbd5afa5ca9749b5b5..8d172fe613678238c171cfa64728bcf351a155c7 100644
(file)
--- a/
folly/Random.cpp
+++ b/
folly/Random.cpp
@@
-89,7
+89,7
@@
class BufferedRandomDevice {
void getSlow(unsigned char* data, size_t size);
inline size_t remaining() const {
- return
buffer_.get() + bufferSize_ - ptr_
;
+ return
size_t(buffer_.get() + bufferSize_ - ptr_)
;
}
const size_t bufferSize_;