diff options
author | Filippos Karapetis | 2010-10-13 11:18:34 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-10-13 11:18:34 +0000 |
commit | 59c6223d49c95a0e212c66bd197a6120f8996de6 (patch) | |
tree | 5ea2d885189530c44693c8a23c555380ae0fa134 | |
parent | 85fa23afbe08d6296d716321d95214042d70f9ac (diff) | |
download | scummvm-rg350-59c6223d49c95a0e212c66bd197a6120f8996de6.tar.gz scummvm-rg350-59c6223d49c95a0e212c66bd197a6120f8996de6.tar.bz2 scummvm-rg350-59c6223d49c95a0e212c66bd197a6120f8996de6.zip |
SWORD25: Fixed signed/unsigned bug
svn-id: r53407
-rw-r--r-- | engines/sword25/kernel/filesystemutil.cpp | 2 | ||||
-rw-r--r-- | engines/sword25/kernel/filesystemutil.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/kernel/filesystemutil.cpp b/engines/sword25/kernel/filesystemutil.cpp index c77a70daaa..764e275c0a 100644 --- a/engines/sword25/kernel/filesystemutil.cpp +++ b/engines/sword25/kernel/filesystemutil.cpp @@ -87,7 +87,7 @@ public: 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 diff --git a/engines/sword25/kernel/filesystemutil.h b/engines/sword25/kernel/filesystemutil.h index de23520255..122d3f021c 100644 --- a/engines/sword25/kernel/filesystemutil.h +++ b/engines/sword25/kernel/filesystemutil.h @@ -80,7 +80,7 @@ public: * @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. |