aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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.