[Scummvm-git-logs] scummvm master -> 8ab5a2b805c68b863650a15a90dee9a63eaef216

digitall noreply at scummvm.org
Fri Feb 28 02:42:16 UTC 2025


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:
8ab5a2b805 M4: Fix GCC Compiler Warning


Commit: 8ab5a2b805c68b863650a15a90dee9a63eaef216
    https://github.com/scummvm/scummvm/commit/8ab5a2b805c68b863650a15a90dee9a63eaef216
Author: D G Turner (digitall at scummvm.org)
Date: 2025-02-28T02:41:35Z

Commit Message:
M4: Fix GCC Compiler Warning

Changed paths:
    engines/m4/mem/reloc.cpp


diff --git a/engines/m4/mem/reloc.cpp b/engines/m4/mem/reloc.cpp
index 5b6d24f2ba0..5208a865b5a 100644
--- a/engines/m4/mem/reloc.cpp
+++ b/engines/m4/mem/reloc.cpp
@@ -32,7 +32,7 @@ MemHandle NewHandle(size_t size, const Common::String &str) {
 	HR *result = (HR *)malloc(sizeof(HR));
 
 	if (!result)
-		error("Unable to allocate memory - %d bytes for %s", size, str.c_str());
+		error("Unable to allocate memory - %zd bytes for %s", size, str.c_str());
 
 	result->_data = malloc(size);
 




More information about the Scummvm-git-logs mailing list