From 785f1776c4e88f5f48ad91d20fdf45874b74f5ad Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sun, 30 Jan 2011 23:19:30 +0000 Subject: HUGO: Fix warning reported by GCC svn-id: r55670 --- engines/hugo/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hugo') 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()); } } -- cgit v1.2.3