Skip to content

Commit 56074a2

Browse files
committed
[Helpers] Invalid conversion from ‘const char*’ to ‘uint {aka unsigned int}’ in some OSs standardized.
1 parent 4f6c6cb commit 56074a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/bitcoinunits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ QString BitcoinUnits::format(int unit, const CAmount& nIn, bool fPlus, Separator
173173
// Clean remainder
174174
QString cleanRemainder = remainder_str;
175175
for (int i = (remainder_str.length() - 1); i > 1; i--) {
176-
if (remainder_str.at(i) == "0") {
176+
if (remainder_str.at(i) == QChar('0')) {
177177
cleanRemainder = cleanRemainder.left(cleanRemainder.lastIndexOf("0"));
178178
} else
179179
break;

0 commit comments

Comments
 (0)