diff options
author | Eugene Sandulenko | 2016-05-11 12:50:59 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-11 12:50:59 +0200 |
commit | 9d12a7181276c5f8eca043c84690ff2a1f767835 (patch) | |
tree | af94605a58687eeab28ac3fd909d8d6548c8f580 /engines | |
parent | ce7ab0fcfea1453f2d43d6f17baeec94675509ed (diff) | |
download | scummvm-rg350-9d12a7181276c5f8eca043c84690ff2a1f767835.tar.gz scummvm-rg350-9d12a7181276c5f8eca043c84690ff2a1f767835.tar.bz2 scummvm-rg350-9d12a7181276c5f8eca043c84690ff2a1f767835.zip |
SCUMM HE: Fix _fowImage data type
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/moonbase/moonbase.h | 2 | ||||
-rw-r--r-- | engines/scumm/he/moonbase/moonbase_fow.cpp | 2 |
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()); } |