[Scummvm-cvs-logs] SF.net SVN: scummvm:[43446] scummvm/trunk/engines/groovie/script.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Aug 16 19:36:31 CEST 2009


Revision: 43446
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43446&view=rev
Author:   lordhoto
Date:     2009-08-16 17:36:31 +0000 (Sun, 16 Aug 2009)

Log Message:
-----------
Fix warning caused by -Wformat-security.

Modified Paths:
--------------
    scummvm/trunk/engines/groovie/script.cpp

Modified: scummvm/trunk/engines/groovie/script.cpp
===================================================================
--- scummvm/trunk/engines/groovie/script.cpp	2009-08-16 17:36:16 UTC (rev 43445)
+++ scummvm/trunk/engines/groovie/script.cpp	2009-08-16 17:36:31 UTC (rev 43446)
@@ -219,7 +219,7 @@
 
 	// 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;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list