[Scummvm-git-logs] scummvm master -> 7a207d850af58f554f146ab16e20666655883894
dreammaster
dreammaster at scummvm.org
Sat Apr 10 02:17:13 UTC 2021
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:
7a207d850a AGS: Fix format warning on Win64
Commit: 7a207d850af58f554f146ab16e20666655883894
https://github.com/scummvm/scummvm/commit/7a207d850af58f554f146ab16e20666655883894
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-04-09T19:17:10-07:00
Commit Message:
AGS: Fix format warning on Win64
Changed paths:
engines/ags/game_scanner.cpp
diff --git a/engines/ags/game_scanner.cpp b/engines/ags/game_scanner.cpp
index 7da4da6e0a..c8d118dbe2 100644
--- a/engines/ags/game_scanner.cpp
+++ b/engines/ags/game_scanner.cpp
@@ -56,8 +56,8 @@ void GameScanner::scan(const Common::String &startFolder) {
if (!_oldGames.empty()) {
debug("// Pre 2.5 games that aren't supported");
for (EntryArray::iterator it = _oldGames.begin(); it != _oldGames.end(); ++it) {
- debug("UNSUPPORTED_GAME_ENTRY(\"\", \"%s\", \"%s\", %lu),",
- it->_filename.c_str(), it->_md5.c_str(), it->_filesize);
+ debug("UNSUPPORTED_GAME_ENTRY(\"\", \"%s\", \"%s\", %u),",
+ it->_filename.c_str(), it->_md5.c_str(), (uint32)it->_filesize);
}
debugN("\n");
}
@@ -72,9 +72,9 @@ void GameScanner::scan(const Common::String &startFolder) {
debugN("\n");
for (EntryArray::iterator it = _games.begin(); it != _games.end(); ++it) {
- debug("GAME_ENTRY(\"%s\", \"%s\", \"%s\", %lu),",
+ debug("GAME_ENTRY(\"%s\", \"%s\", \"%s\", %u),",
it->_id.c_str(), it->_filename.c_str(),
- it->_md5.c_str(), it->_filesize);
+ it->_md5.c_str(), (uint32)it->_filesize);
}
debugN("\n");
}
More information about the Scummvm-git-logs
mailing list