[Scummvm-cvs-logs] SF.net SVN: scummvm:[52494] scummvm/trunk/engines/hugo/file.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Thu Sep 2 13:43:01 CEST 2010


Revision: 52494
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52494&view=rev
Author:   strangerke
Date:     2010-09-02 11:43:00 +0000 (Thu, 02 Sep 2010)

Log Message:
-----------
HUGO: Fix warnings

Modified Paths:
--------------
    scummvm/trunk/engines/hugo/file.cpp

Modified: scummvm/trunk/engines/hugo/file.cpp
===================================================================
--- scummvm/trunk/engines/hugo/file.cpp	2010-09-02 10:52:29 UTC (rev 52493)
+++ scummvm/trunk/engines/hugo/file.cpp	2010-09-02 11:43:00 UTC (rev 52494)
@@ -827,7 +827,7 @@
 	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;


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