mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
GUI: Fix warnings
This commit is contained in:
parent
f1aec5a5a2
commit
92452a4bba
@ -193,7 +193,7 @@ void DownloadDialog::handleTickle() {
|
||||
return;
|
||||
}
|
||||
|
||||
uint32 progress = (uint32)(100 * CloudMan.getDownloadingProgress());
|
||||
int32 progress = (int32)(100 * CloudMan.getDownloadingProgress());
|
||||
if (_progressBar->getValue() != progress) {
|
||||
refreshWidgets();
|
||||
draw();
|
||||
@ -239,7 +239,7 @@ Common::String getHumanReadableBytes(uint64 bytes, Common::String &unitsOut) {
|
||||
}
|
||||
|
||||
// print one digit after floating point
|
||||
result = Common::String::format("%.1lf", floating);
|
||||
result = Common::String::format("%.1f", floating);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user