mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
workaround warning - fixme
svn-id: r13779
This commit is contained in:
parent
5a5e6ba868
commit
6c38484c1a
@ -142,7 +142,7 @@ int SndRes::loadVocSound(byte *snd_res, size_t snd_res_len, R_SOUNDBUFFER *snd_b
|
||||
voc_hb.voc_version = readS->readUint16LE();
|
||||
voc_hb.voc_fileid = readS->readUint16LE();
|
||||
|
||||
if (snd_res_len - readS->tell() < voc_hb.db_offset + R_VOC_GENBLOCK_LEN) {
|
||||
if ((int32)(snd_res_len - readS->tell()) < (int32)(voc_hb.db_offset + R_VOC_GENBLOCK_LEN)) {
|
||||
return R_FAILURE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user