[Scummvm-git-logs] scummvm master -> d66fe413a11d6f870492b539f8ce0d4f35278a5d

sev- noreply at scummvm.org
Mon Jul 10 14:59:42 UTC 2023


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:
d66fe413a1 ENGINES: Fix wrong printf format specifier (int64 is long long on Windows)


Commit: d66fe413a11d6f870492b539f8ce0d4f35278a5d
    https://github.com/scummvm/scummvm/commit/d66fe413a11d6f870492b539f8ce0d4f35278a5d
Author: elasota (ejlasota at gmail.com)
Date: 2023-07-10T16:59:38+02:00

Commit Message:
ENGINES: Fix wrong printf format specifier (int64 is long long on Windows)

Changed paths:
    engines/advancedDetector.cpp


diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index a696b56d31f..b70a1d0d0b8 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -695,7 +695,7 @@ void AdvancedMetaEngineDetection::dumpDetectionEntries() const {
 			if (md5Prefix != "" && md5.find(':') == Common::String::npos)
 				key = md5Prefix + md5;
 
-			printf("\trom ( name \"%s\" size %ld md5-%d %s )\n", escapeString(fname).c_str(), fsize, _md5Bytes, key.c_str());
+			printf("\trom ( name \"%s\" size %lld md5-%d %s )\n", escapeString(fname).c_str(), static_cast<long long int>(fsize), _md5Bytes, key.c_str());
 		}
 		printf(")\n\n"); // Closing for 'game ('
 	}




More information about the Scummvm-git-logs mailing list