aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-13 11:18:34 +0000
committerFilippos Karapetis2010-10-13 11:18:34 +0000
commit59c6223d49c95a0e212c66bd197a6120f8996de6 (patch)
tree5ea2d885189530c44693c8a23c555380ae0fa134 /engines/sword25/kernel
parent85fa23afbe08d6296d716321d95214042d70f9ac (diff)
downloadscummvm-rg350-59c6223d49c95a0e212c66bd197a6120f8996de6.tar.gz
scummvm-rg350-59c6223d49c95a0e212c66bd197a6120f8996de6.tar.bz2
scummvm-rg350-59c6223d49c95a0e212c66bd197a6120f8996de6.zip
SWORD25: Fixed signed/unsigned bug
svn-id: r53407
Diffstat (limited to 'engines/sword25/kernel')
-rw-r--r--engines/sword25/kernel/filesystemutil.cpp2
-rw-r--r--engines/sword25/kernel/filesystemutil.h2
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.