diff options
author | Pasta <pasta@dashboost.org> | 2021-12-18 12:50:58 -0500 |
---|---|---|
committer | pasta <pasta@dashboost.org> | 2023-01-03 19:31:29 -0600 |
commit | f2fc03ec856d7d19a20c482514350cced38f9504 (patch) | |
tree | f783af485b07464f29e0f5876db293a5ce44ca03 /src/util | |
parent | 3f8591d46b46cec2c4effc01f8822222087d74c4 (diff) |
refactor: use braced init for integer constants instead of c style casts
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/moneystr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/moneystr.cpp b/src/util/moneystr.cpp index 9ecc899d0c..9181329afc 100644 --- a/src/util/moneystr.cpp +++ b/src/util/moneystr.cpp @@ -34,7 +34,7 @@ std::string FormatMoney(const CAmount n) str.erase(str.size()-nTrim, nTrim); if (n < 0) - str.insert((unsigned int)0, 1, '-'); + str.insert(uint32_t{0}, 1, '-'); return str; } |