aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-10-30 10:29:27 +0100
committerpracticalswift <[email protected]>2017-10-30 10:29:27 +0100
commit6eddd43e6d2222895a4b8e7fae800b919131db66 (patch)
tree5ae18bef38c9dfb437323325ee80ac620fe894eb /src/httpserver.cpp
parentMerge #11541: Build: Fix Automake warnings when running autogen.sh (diff)
downloaddiscoin-6eddd43e6d2222895a4b8e7fae800b919131db66.tar.xz
discoin-6eddd43e6d2222895a4b8e7fae800b919131db66.zip
Fix warnings when building with DEBUG_ADDRMAN
Warnings prior to this commit: ``` addrman.cpp:390:24: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (vRandom.size() != nTried + nNew) ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ addrman.cpp:411:52: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare] if (info.nRandomPos < 0 || info.nRandomPos >= vRandom.size() || vRandom[info.nRandomPos] != n) ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~ addrman.cpp:419:25: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (setTried.size() != nTried) ~~~~~~~~~~~~~~~ ^ ~~~~~~ addrman.cpp:421:23: warning: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'int' [-Wsign-compare] if (mapNew.size() != nNew) ~~~~~~~~~~~~~ ^ ~~~~ 4 warnings generated. ```
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions