aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/archetype/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/archetype/misc.cpp')
-rw-r--r--engines/glk/archetype/misc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/archetype/misc.cpp b/engines/glk/archetype/misc.cpp
index 066c6c9225..f2c0c780ff 100644
--- a/engines/glk/archetype/misc.cpp
+++ b/engines/glk/archetype/misc.cpp
@@ -127,8 +127,8 @@ void add_bytes(int delta) {
if (DebugMan.isDebugChannelEnabled(DEBUG_BYTES)) {
String line = (delta >= 0) ? "Allocated " : "Deallocated ";
- line += String::format("%.3d bytes. Current consumed memory: %.6d", ABS(delta), Bytes);
- debug(line.c_str());
+ line += String::format("%.3u bytes. Current consumed memory: %.6u", (uint)ABS(delta), (uint)Bytes);
+ debug("%s", line.c_str());
}
}