aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2010-08-25 13:31:14 +0000
committerMatthew Hoops2010-08-25 13:31:14 +0000
commitb1532eca9fcd86273a6ed72394129467bc4d00fe (patch)
treef2bfd32cae3ad09f36dcba47176bd6ffdc0ca8ab /engines
parent89b34faa5aa85f8e7f7e5ec54f14246e639c9e6f (diff)
downloadscummvm-rg350-b1532eca9fcd86273a6ed72394129467bc4d00fe.tar.gz
scummvm-rg350-b1532eca9fcd86273a6ed72394129467bc4d00fe.tar.bz2
scummvm-rg350-b1532eca9fcd86273a6ed72394129467bc4d00fe.zip
M4: Silence gcc warning
Original warning: "format not a string literal and no format arguments" svn-id: r52388
Diffstat (limited to 'engines')
-rw-r--r--engines/m4/mads_logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/mads_logic.cpp b/engines/m4/mads_logic.cpp
index 3481c58c5c..cebe2215ca 100644
--- a/engines/m4/mads_logic.cpp
+++ b/engines/m4/mads_logic.cpp
@@ -685,7 +685,7 @@ void MadsSceneLogic::execute(uint32 subOffset) {
if (gDebugLevel > 0) {
if (param != UNUSED_VAL)
sprintf(opcodeBuffer + strlen(opcodeBuffer), "\t%d", param);
- debugC(2, kDebugScript, opcodeBuffer);
+ debugC(2, kDebugScript, "%s", opcodeBuffer);
}
}