[Scummvm-git-logs] scummvm master -> 2537d293321cfc0b073e55254ce41ed1545a0008
digitall
noreply at scummvm.org
Wed Aug 3 00:47:47 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2537d29332 GUI: Fix GCC Compiler Warnings in Save Load Dialog
Commit: 2537d293321cfc0b073e55254ce41ed1545a0008
https://github.com/scummvm/scummvm/commit/2537d293321cfc0b073e55254ce41ed1545a0008
Author: D G Turner (digitall at scummvm.org)
Date: 2022-08-03T01:47:09+01:00
Commit Message:
GUI: Fix GCC Compiler Warnings in Save Load Dialog
Changed paths:
gui/saveload-dialog.cpp
diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp
index cde42c93a77..bc7f75d44bb 100644
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -118,8 +118,8 @@ void SaveLoadCloudSyncProgressDialog::pollCloudMan() {
total = getHumanReadableBytes(info.bytesToDownload, totalUnits);
Common::String progressPercent = Common::String::format("%u %%", progress);
- Common::String filesDownloaded = Common::String::format("%llu", info.filesDownloaded);
- Common::String filesToDownload = Common::String::format("%llu", info.filesToDownload);
+ Common::String filesDownloaded = Common::String::format("%llu", (unsigned long long)info.filesDownloaded);
+ Common::String filesToDownload = Common::String::format("%llu", (unsigned long long)info.filesToDownload);
_percentLabel->setLabel(
Common::U32String::format(
@@ -265,7 +265,7 @@ void SaveLoadChooserDialog::runSaveSync(bool hasSavepathOverride) {
if (hasSavepathOverride) {
CloudMan.showCloudDisabledIcon();
} else {
- Cloud::SavesSyncRequest *request = CloudMan.syncSaves();
+ CloudMan.syncSaves();
}
}
}
More information about the Scummvm-git-logs
mailing list