aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorRicardo M. Correia <[email protected]>2012-05-13 21:31:59 +0200
committerRicardo M. Correia <[email protected]>2012-05-13 21:42:54 +0200
commit4843b55fd167c54d86eb9e1f19525ed363cfe72d (patch)
tree81a74462fdd3fc20a25521a8634121ad0b1a445f /src/util.cpp
parentDo not consider blocked networks local (diff)
downloaddiscoin-4843b55fd167c54d86eb9e1f19525ed363cfe72d.tar.xz
discoin-4843b55fd167c54d86eb9e1f19525ed363cfe72d.zip
Make CNetAddr::GetHash() return an unsigned val.
This prevents an undefined operation in main.cpp, when shifting the hash value left by 32 bits. Shifting a signed int left into the sign bit is undefined in C++11.
Diffstat (limited to 'src/util.cpp')
0 files changed, 0 insertions, 0 deletions