Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0;
commita47da4b6fecaba81dafe777b25be24e04a428e37
authorpracticalswift <practicalswift@users.noreply.github.com>
Fri, 3 Feb 2017 08:20:54 +0000 (3 09:20 +0100)
committerpracticalswift <practicalswift@users.noreply.github.com>
Tue, 7 Feb 2017 14:46:38 +0000 (7 15:46 +0100)
tree2ef78a9d89b312b71aa06316443ce2de96d58c8e
parentb709fe7ffc44ae14bbd2403cdfbfa4fcf94cef6b
Use z = std::max(x - y, 0); instead of z = x - y; if (z < 0) z = 0;
src/addrman.cpp
src/qt/coincontroldialog.cpp