aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Boutonné2010-09-02 11:43:00 +0000
committerArnaud Boutonné2010-09-02 11:43:00 +0000
commite284852b64cc772c6475fc9d2db35122bea090f8 (patch)
tree255b632f7be80447b52e7adaa23d1135f8ba2da7
parentd74e82fe7fdc467dbebab704a7ace2de57395147 (diff)
downloadscummvm-rg350-e284852b64cc772c6475fc9d2db35122bea090f8.tar.gz
scummvm-rg350-e284852b64cc772c6475fc9d2db35122bea090f8.tar.bz2
scummvm-rg350-e284852b64cc772c6475fc9d2db35122bea090f8.zip
HUGO: Fix warnings
svn-id: r52494
-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 150ad2d2b8..2a76d13ee7 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -827,7 +827,7 @@ void FileManager::readConfig() {
if (f.open(path)) {
// If config format changed, ignore it and use defaults
if (f.size() != sizeof(_config)) {
- warning("Incompatible %s: file size:%d expected size: %d. Skipping loading.", CONFIGFILE, f.size(), sizeof(_config));
+ warning("Incompatible %s: file size: %ld expected size: %ld. Skipping loading.", CONFIGFILE, f.size(), sizeof(_config));
} else {
if (f.read(&_config, sizeof(_config)) != sizeof(_config))
_config = tmpConfig;