Make float <-> int casts explicit outside of test, qt, CFeeRate

This commit is contained in:
Matt Corallo
2017-09-11 15:43:49 -04:00
parent 0b1b9148cd
commit 53a6590f49
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1043,5 +1043,5 @@ CAmount FeeFilterRounder::round(CAmount currentMinFee)
if ((it != feeset.begin() && insecure_rand.rand32() % 3 != 0) || it == feeset.end()) {
it--;
}
return *it;
return static_cast<CAmount>(*it);
}