[Scummvm-cvs-logs] SF.net SVN: scummvm:[55670] scummvm/trunk/engines/hugo/file.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Mon Jan 31 00:19:30 CET 2011
Revision: 55670
http://scummvm.svn.sourceforge.net/scummvm/?rev=55670&view=rev
Author: strangerke
Date: 2011-01-30 23:19:30 +0000 (Sun, 30 Jan 2011)
Log Message:
-----------
HUGO: Fix warning reported by GCC
Modified Paths:
--------------
scummvm/trunk/engines/hugo/file.cpp
Modified: scummvm/trunk/engines/hugo/file.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file.cpp 2011-01-30 23:08:05 UTC (rev 55669)
+++ scummvm/trunk/engines/hugo/file.cpp 2011-01-30 23:19:30 UTC (rev 55670)
@@ -175,7 +175,7 @@
if (!_objectsArchive.open(buf)) {
buf = Common::String(_vm->_text->getNoun(objPtr->nounIndex, 0)) + Common::String(".PIX");
if (!_objectsArchive.open(buf))
- error("File not found: %s", buf);
+ error("File not found: %s", buf.c_str());
}
}
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