M4: Silence gcc warning

Original warning: "format not a string literal and no format arguments"

svn-id: r52388
This commit is contained in:
Matthew Hoops 2010-08-25 13:31:14 +00:00
parent 89b34faa5a
commit b1532eca9f

View File

@ -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);
}
}