aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorAndrew Kurushin2005-11-19 10:45:41 +0000
committerAndrew Kurushin2005-11-19 10:45:41 +0000
commit70fc8eff6545bbddf640876ada2f1ebc39e26e8a (patch)
treeae984f6e5613fba3e127cd833bc94ff393f9e308 /simon
parentc0aca2f12e052812ef2e9afa30eadfd7855ce08d (diff)
downloadscummvm-rg350-70fc8eff6545bbddf640876ada2f1ebc39e26e8a.tar.gz
scummvm-rg350-70fc8eff6545bbddf640876ada2f1ebc39e26e8a.tar.bz2
scummvm-rg350-70fc8eff6545bbddf640876ada2f1ebc39e26e8a.zip
fix compile warning
svn-id: r19664
Diffstat (limited to 'simon')
-rw-r--r--simon/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/sound.cpp b/simon/sound.cpp
index 160a1a125f..000b46d0e4 100644
--- a/simon/sound.cpp
+++ b/simon/sound.cpp
@@ -471,7 +471,7 @@ void Sound::playSoundData(byte *soundData, uint sound, uint pan, uint vol, bool
}
soundData += READ_LE_UINT32(soundData + sound * 4);
- int32 size = READ_LE_UINT32(soundData + 4);
+ int size = READ_LE_UINT32(soundData + 4);
Common::MemoryReadStream stream(soundData, size);
if (!loadWAVFromStream(stream, size, rate, flags)) {
error("playSoundData: Not a valid WAV data");