[Scummvm-cvs-logs] SF.net SVN: scummvm:[53407] scummvm/trunk/engines/sword25/kernel
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Oct 13 13:18:34 CEST 2010
Revision: 53407
http://scummvm.svn.sourceforge.net/scummvm/?rev=53407&view=rev
Author: thebluegr
Date: 2010-10-13 11:18:34 +0000 (Wed, 13 Oct 2010)
Log Message:
-----------
SWORD25: Fixed signed/unsigned bug
Modified Paths:
--------------
scummvm/trunk/engines/sword25/kernel/filesystemutil.cpp
scummvm/trunk/engines/sword25/kernel/filesystemutil.h
Modified: scummvm/trunk/engines/sword25/kernel/filesystemutil.cpp
===================================================================
--- scummvm/trunk/engines/sword25/kernel/filesystemutil.cpp 2010-10-13 11:13:34 UTC (rev 53406)
+++ scummvm/trunk/engines/sword25/kernel/filesystemutil.cpp 2010-10-13 11:18:34 UTC (rev 53407)
@@ -87,7 +87,7 @@
return Common::String("/");
}
- virtual uint32 GetFileSize(const Common::String &Filename) {
+ virtual int32 GetFileSize(const Common::String &Filename) {
Common::FSNode node(Filename);
// If the file does not exist, return -1 as a result
Modified: scummvm/trunk/engines/sword25/kernel/filesystemutil.h
===================================================================
--- scummvm/trunk/engines/sword25/kernel/filesystemutil.h 2010-10-13 11:13:34 UTC (rev 53406)
+++ scummvm/trunk/engines/sword25/kernel/filesystemutil.h 2010-10-13 11:18:34 UTC (rev 53407)
@@ -80,7 +80,7 @@
* @return Returns the size of the specified file. If the size could not be
* determined, or the file does not exist, returns -1
*/
- virtual uint32 GetFileSize(const Common::String &Filename) = 0;
+ virtual int32 GetFileSize(const Common::String &Filename) = 0;
/**
* @param Filename The path to a file.
* @return Returns the timestamp of the specified file.
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