aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-16 17:36:31 +0000
committerJohannes Schickel2009-08-16 17:36:31 +0000
commitc88cf041a4b805f4af161630b37fa2a21d27e068 (patch)
treeb532ffbaeb77fe566edb4c69204d2d6e81947b72 /engines
parentecb642305558f52af65b7d91b9ec38c91ef2aa06 (diff)
downloadscummvm-rg350-c88cf041a4b805f4af161630b37fa2a21d27e068.tar.gz
scummvm-rg350-c88cf041a4b805f4af161630b37fa2a21d27e068.tar.bz2
scummvm-rg350-c88cf041a4b805f4af161630b37fa2a21d27e068.zip
Fix warning caused by -Wformat-security.
svn-id: r43446
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 7fdfa6c780..5ee58184f2 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -219,7 +219,7 @@ void Script::step() {
// Only output if we're not re-doing the previous instruction
if (_currentInstruction != _oldInstruction) {
- debugScript(1, false, _debugString.c_str());
+ debugScript(1, false, "%s", _debugString.c_str());
_oldInstruction = _currentInstruction;
}