aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/sound.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2007-04-15 15:40:24 +0000
committerPaweł Kołodziejski2007-04-15 15:40:24 +0000
commitae7c6406712dcc5f3567caaab9b2f95c379c9c10 (patch)
treee0223e8113964b9dbf51198ead8dfbf850cbe1e2 /engines/scumm/sound.cpp
parentac7b134565b351d1b8d5e100e964cd35788387c9 (diff)
downloadscummvm-rg350-ae7c6406712dcc5f3567caaab9b2f95c379c9c10.tar.gz
scummvm-rg350-ae7c6406712dcc5f3567caaab9b2f95c379c9c10.tar.bz2
scummvm-rg350-ae7c6406712dcc5f3567caaab9b2f95c379c9c10.zip
fixed warnings
svn-id: r26506
Diffstat (limited to 'engines/scumm/sound.cpp')
-rw-r--r--engines/scumm/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index 9f29418ca6..c54eb25db5 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -1221,7 +1221,7 @@ int ScummEngine::readSoundResource(int type, int idx) {
debugC(DEBUG_SOUND, "FMUS file %s", buffer);
if (dmuFile.open(buffer) == false) {
error("Can't open music file %s*", buffer);
- _res->roomoffs[type][idx] = RES_INVALID_OFFSET;
+ _res->roomoffs[type][idx] = (uint32)RES_INVALID_OFFSET;
return 0;
}
dmuFile.seek(4, SEEK_SET);
@@ -1245,7 +1245,7 @@ int ScummEngine::readSoundResource(int type, int idx) {
}
error("Unrecognized base tag 0x%08x in sound %d", basetag, idx);
}
- _res->roomoffs[type][idx] = RES_INVALID_OFFSET;
+ _res->roomoffs[type][idx] = (uint32)RES_INVALID_OFFSET;
return 0;
}
@@ -2107,7 +2107,7 @@ int ScummEngine::readSoundResourceSmallHeader(int type, int idx) {
_fileHandle->read(_res->createResource(type, idx, ro_size - 4), ro_size - 4);
return 1;
}
- _res->roomoffs[type][idx] = RES_INVALID_OFFSET;
+ _res->roomoffs[type][idx] = (uint32)RES_INVALID_OFFSET;
return 0;
}