[Scummvm-cvs-logs] scummvm master -> 123e52f441619d5c866b9f6e05fcc2775a405830
sev-
sev at scummvm.org
Sun Oct 26 09:35:39 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
123e52f441 PRINCE: Fix another variable sign
Commit: 123e52f441619d5c866b9f6e05fcc2775a405830
https://github.com/scummvm/scummvm/commit/123e52f441619d5c866b9f6e05fcc2775a405830
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-10-26T09:34:48+01:00
Commit Message:
PRINCE: Fix another variable sign
Changed paths:
engines/prince/script.cpp
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index 71d003d..d1a0034 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -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;
More information about the Scummvm-git-logs
mailing list