diff options
author | Eugene Sandulenko | 2014-10-26 09:32:58 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2014-10-26 09:32:58 +0100 |
commit | 3b9ac0318cdd35d645e2ae724dcddb5a3d018345 (patch) | |
tree | c499cb8cbef6cf0042403f7748facde343b0cd85 /engines/prince | |
parent | 522cd1c97082a7cae83b39877d4d33abc6770756 (diff) | |
download | scummvm-rg350-3b9ac0318cdd35d645e2ae724dcddb5a3d018345.tar.gz scummvm-rg350-3b9ac0318cdd35d645e2ae724dcddb5a3d018345.tar.bz2 scummvm-rg350-3b9ac0318cdd35d645e2ae724dcddb5a3d018345.zip |
PRINCE: Fix variable sign
Diffstat (limited to 'engines/prince')
-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) { |