aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-05-05 06:56:01 +0000
committerPaweł Kołodziejski2004-05-05 06:56:01 +0000
commit6c38484c1a4b0932b331e6f83d067bfa9f1cc556 (patch)
tree84b06069a1417410f9b8d52e8c8f31643f1b5c81 /saga
parent5a5e6ba8680b5642f648431ce1fcd932f151a3b4 (diff)
downloadscummvm-rg350-6c38484c1a4b0932b331e6f83d067bfa9f1cc556.tar.gz
scummvm-rg350-6c38484c1a4b0932b331e6f83d067bfa9f1cc556.tar.bz2
scummvm-rg350-6c38484c1a4b0932b331e6f83d067bfa9f1cc556.zip
workaround warning - fixme
svn-id: r13779
Diffstat (limited to 'saga')
-rw-r--r--saga/sndres.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sndres.cpp b/saga/sndres.cpp
index 6be5b51e1e..afa5e2337d 100644
--- a/saga/sndres.cpp
+++ b/saga/sndres.cpp
@@ -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;
}