projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some implicit truncation and sign coersion in the networking APIs
[folly.git]
/
folly
/
IPAddressV6.h
diff --git
a/folly/IPAddressV6.h
b/folly/IPAddressV6.h
index db70d09323d9e1d41535c466d37d9cf5a55080cc..eeccc89da61e7056330977d22537bfe52cea3aa4 100644
(file)
--- a/
folly/IPAddressV6.h
+++ b/
folly/IPAddressV6.h
@@
-267,7
+267,7
@@
class IPAddressV6 {
std::string str() const;
// @see IPAddress#version
-
size
_t version() const { return 6; }
+
uint8
_t version() const { return 6; }
/**
* Return the solicited-node multicast address for this address.