aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-30 23:19:30 +0000
committerArnaud Boutonné2011-01-30 23:19:30 +0000
commit785f1776c4e88f5f48ad91d20fdf45874b74f5ad (patch)
treee45d40af8548bd7c432e8835a15a11fda241fe34
parenta07d37d3a5cefad04ca1d7797f8ad9dfe6c2bb47 (diff)
downloadscummvm-rg350-785f1776c4e88f5f48ad91d20fdf45874b74f5ad.tar.gz
scummvm-rg350-785f1776c4e88f5f48ad91d20fdf45874b74f5ad.tar.bz2
scummvm-rg350-785f1776c4e88f5f48ad91d20fdf45874b74f5ad.zip
HUGO: Fix warning reported by GCC
svn-id: r55670
-rw-r--r--engines/hugo/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 164aa18016..0c330d3ed7 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -175,7 +175,7 @@ void FileManager::readImage(int objNum, object_t *objPtr) {
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());
}
}