From 123e52f441619d5c866b9f6e05fcc2775a405830 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 26 Oct 2014 09:34:48 +0100 Subject: [PATCH] PRINCE: Fix another variable sign --- engines/prince/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp index 71d003da8fc..d1a00349403 100644 --- a/engines/prince/script.cpp +++ b/engines/prince/script.cpp @@ -394,7 +394,7 @@ bool Script::loadAllMasks(Common::Array &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;