From b1532eca9fcd86273a6ed72394129467bc4d00fe Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 25 Aug 2010 13:31:14 +0000 Subject: M4: Silence gcc warning Original warning: "format not a string literal and no format arguments" svn-id: r52388 --- engines/m4/mads_logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); } } -- cgit v1.2.3