From 2ef8a32a0119f93483e2b58c9bd1f2f42851f9ea Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 16 Nov 2008 20:20:31 +0000 Subject: Fixed various g++ warnings ("format not a string literal and no format arguments"). svn-id: r35096 --- engines/lure/scripts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/lure') diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp index 9b073fc1bc..85bf43608b 100644 --- a/engines/lure/scripts.cpp +++ b/engines/lure/scripts.cpp @@ -1094,7 +1094,7 @@ uint16 Script::execute(uint16 startOffset) { sprintf(debugInfo + strlen(debugInfo), " (%d)", stack[stack.size()-1]); strcat(debugInfo, ")"); - debugC(ERROR_DETAILED, kLureDebugScripts, debugInfo); + debugC(ERROR_DETAILED, kLureDebugScripts, "%s", debugInfo); } param1 = 0; param2 = 0; param3 = 0; @@ -1164,7 +1164,7 @@ uint16 Script::execute(uint16 startOffset) { break; } - debugC(ERROR_DETAILED, kLureDebugScripts, debugInfo); + debugC(ERROR_DETAILED, kLureDebugScripts, "%s", debugInfo); } } -- cgit v1.2.3