From 3b9ac0318cdd35d645e2ae724dcddb5a3d018345 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 26 Oct 2014 09:32:58 +0100 Subject: PRINCE: Fix variable sign --- engines/prince/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/prince') 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 &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) { -- cgit v1.2.3