aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/vol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/vol.cpp')
-rw-r--r--engines/cge/vol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/vol.cpp b/engines/cge/vol.cpp
index 503c6cab91..b0cf1c068c 100644
--- a/engines/cge/vol.cpp
+++ b/engines/cge/vol.cpp
@@ -101,6 +101,6 @@ void VFILE::ReadBuff (void)
BufMark = Dat.File.Mark();
long n = EndMark - BufMark;
if (n > IOBUF_SIZE) n = IOBUF_SIZE;
- Lim = Dat.File.Read(Buff, (word) n);
+ Lim = Dat.File.Read(Buff, (uint16) n);
Ptr = 0;
}