diff options
author | Matt Corallo <git@bluematt.me> | 2017-09-11 15:43:49 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-09-11 15:51:37 -0400 |
commit | 53a6590f496b25174c740927243bf8307541b0b9 (patch) | |
tree | 66e5b7ba754ffd41f58e600993f710e687f23502 /src/policy | |
parent | 0b1b9148cd77092d2851eeed5c8c6d5ce117452a (diff) |
Make float <-> int casts explicit outside of test, qt, CFeeRate
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/fees.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index b9476407cf..ca774cd74b 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -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); } |