Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
This commit is contained in:
parent
e1fdb1f882
commit
2ef8a32a01
12 changed files with 23 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue