mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
PRINCE: Fix another variable sign
This commit is contained in:
parent
3b9ac0318c
commit
123e52f441
@ -394,7 +394,7 @@ bool Script::loadAllMasks(Common::Array<Mask> &maskList, int offset) {
|
||||
int32 dataSize = msStream->size();
|
||||
if (dataSize != -1) {
|
||||
tempMask._data = (byte *)malloc(dataSize);
|
||||
if (msStream->read(tempMask._data, dataSize) != dataSize) {
|
||||
if (msStream->read(tempMask._data, dataSize) != (uint32)dataSize) {
|
||||
free(tempMask._data);
|
||||
delete msStream;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user