mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
TINSEL: Fix Signed vs. Unsigned Comparison GCC Compiler Warnings
This commit is contained in:
parent
3370e407f5
commit
27b8a47297
@ -1105,7 +1105,7 @@ bool BMVPlayer::MaintainBuffer() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (stream.read(bigBuffer + nextReadSlot * slotSize, slotSize) != slotSize) {
|
||||
if ((int)stream.read(bigBuffer + nextReadSlot * slotSize, slotSize) != slotSize) {
|
||||
bFileEnd = true;
|
||||
}
|
||||
|
||||
|
@ -116,7 +116,7 @@ int decompressLZSS(Common::SeekableReadStream &input, byte *output) {
|
||||
}
|
||||
delete[] data;
|
||||
|
||||
if (offset > input.size()) {
|
||||
if ((int32)offset > input.size()) {
|
||||
error("Read too far during decompression");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user