projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Start fixing implicit truncations
[folly.git]
/
folly
/
SocketAddress.cpp
diff --git
a/folly/SocketAddress.cpp
b/folly/SocketAddress.cpp
index 1107e0e0f54f628349d50833cc6bd756d902b315..9e0eb0e4148ac47c513bff32fe3cf33a642b1a22 100644
(file)
--- a/
folly/SocketAddress.cpp
+++ b/
folly/SocketAddress.cpp
@@
-548,7
+548,7
@@
bool SocketAddress::prefixMatch(const SocketAddress& other,
if (other.getFamily() != getFamily()) {
return false;
}
-
in
t mask_length = 128;
+
uint8_
t mask_length = 128;
switch (getFamily()) {
case AF_INET:
mask_length = 32;