PRINCE: Fix variable sign
This commit is contained in:
parent
522cd1c970
commit
3b9ac0318c
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ bool Script::loadAllMasks(Common::Array<Mask> &maskList, int offset) {
|
||||||
debug("Can't load %s", msStreamName.c_str());
|
debug("Can't load %s", msStreamName.c_str());
|
||||||
delete msStream;
|
delete msStream;
|
||||||
} else {
|
} else {
|
||||||
uint32 dataSize = msStream->size();
|
int32 dataSize = msStream->size();
|
||||||
if (dataSize != -1) {
|
if (dataSize != -1) {
|
||||||
tempMask._data = (byte *)malloc(dataSize);
|
tempMask._data = (byte *)malloc(dataSize);
|
||||||
if (msStream->read(tempMask._data, dataSize) != dataSize) {
|
if (msStream->read(tempMask._data, dataSize) != dataSize) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue