diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/prince/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp index 25249d3236..71d003da8f 100644 --- a/engines/prince/script.cpp +++ b/engines/prince/script.cpp @@ -391,7 +391,7 @@ bool Script::loadAllMasks(Common::Array<Mask> &maskList, int offset) { debug("Can't load %s", msStreamName.c_str()); delete msStream; } else { - uint32 dataSize = msStream->size(); + int32 dataSize = msStream->size(); if (dataSize != -1) { tempMask._data = (byte *)malloc(dataSize); if (msStream->read(tempMask._data, dataSize) != dataSize) { |