aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/BDiskFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/BDiskFile.cpp')
-rw-r--r--engines/wintermute/BDiskFile.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/BDiskFile.cpp b/engines/wintermute/BDiskFile.cpp
index a2ec38a57e..e559708b5b 100644
--- a/engines/wintermute/BDiskFile.cpp
+++ b/engines/wintermute/BDiskFile.cpp
@@ -179,8 +179,9 @@ HRESULT CBDiskFile::Read(void *Buffer, uint32 Size) {
//////////////////////////////////////////////////////////////////////////
HRESULT CBDiskFile::Seek(uint32 Pos, TSeek Origin) {
+ // TODO: Should this really need to use uint32?
if (_compressed) {
- int32 NewPos = 0;
+ uint32 NewPos = 0;
switch (Origin) {
case SEEK_TO_BEGIN: