diff options
author | Johannes Schickel | 2009-08-16 17:36:31 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-08-16 17:36:31 +0000 |
commit | c88cf041a4b805f4af161630b37fa2a21d27e068 (patch) | |
tree | b532ffbaeb77fe566edb4c69204d2d6e81947b72 | |
parent | ecb642305558f52af65b7d91b9ec38c91ef2aa06 (diff) | |
download | scummvm-rg350-c88cf041a4b805f4af161630b37fa2a21d27e068.tar.gz scummvm-rg350-c88cf041a4b805f4af161630b37fa2a21d27e068.tar.bz2 scummvm-rg350-c88cf041a4b805f4af161630b37fa2a21d27e068.zip |
Fix warning caused by -Wformat-security.
svn-id: r43446
-rw-r--r-- | engines/groovie/script.cpp | 2 |
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; } |