aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-11 12:50:59 +0200
committerEugene Sandulenko2016-05-11 12:50:59 +0200
commit9d12a7181276c5f8eca043c84690ff2a1f767835 (patch)
treeaf94605a58687eeab28ac3fd909d8d6548c8f580 /engines/scumm
parentce7ab0fcfea1453f2d43d6f17baeec94675509ed (diff)
downloadscummvm-rg350-9d12a7181276c5f8eca043c84690ff2a1f767835.tar.gz
scummvm-rg350-9d12a7181276c5f8eca043c84690ff2a1f767835.tar.bz2
scummvm-rg350-9d12a7181276c5f8eca043c84690ff2a1f767835.zip
SCUMM HE: Fix _fowImage data type
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/moonbase/moonbase.h2
-rw-r--r--engines/scumm/he/moonbase/moonbase_fow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/moonbase/moonbase.h b/engines/scumm/he/moonbase/moonbase.h
index 003467e8a0..966112dbbd 100644
--- a/engines/scumm/he/moonbase/moonbase.h
+++ b/engines/scumm/he/moonbase/moonbase.h
@@ -68,7 +68,7 @@ private:
int _fowTileW;
int _fowTileH;
- byte *_fowImage;
+ uint8 *_fowImage;
int _fowClipX1;
int _fowClipY1;
int _fowClipX2;
diff --git a/engines/scumm/he/moonbase/moonbase_fow.cpp b/engines/scumm/he/moonbase/moonbase_fow.cpp
index d7726e49e2..892ba29e0c 100644
--- a/engines/scumm/he/moonbase/moonbase_fow.cpp
+++ b/engines/scumm/he/moonbase/moonbase_fow.cpp
@@ -106,7 +106,7 @@ bool Moonbase::setFOWImage(int image) {
Common::SeekableReadStream *stream = _exe.getResource(Common::kPERCData, resId);
if (stream->size()) {
- _fowImage = (byte *)malloc(stream->size());
+ _fowImage = (uint8 *)malloc(stream->size());
stream->read(_fowImage, stream->size());
}