diff options
author | Max Horn | 2002-11-05 21:29:44 +0000 |
---|---|---|
committer | Max Horn | 2002-11-05 21:29:44 +0000 |
commit | 973032dd90439ec1e48a95163e51a9fdef2faacf (patch) | |
tree | 4372fe2266d04153ba2d032a0f96b59b4db7830b /scumm/sound.cpp | |
parent | abf8b9e5712da5ff5a40943f90ab6e41c3cf630f (diff) | |
download | scummvm-rg350-973032dd90439ec1e48a95163e51a9fdef2faacf.tar.gz scummvm-rg350-973032dd90439ec1e48a95163e51a9fdef2faacf.tar.bz2 scummvm-rg350-973032dd90439ec1e48a95163e51a9fdef2faacf.zip |
fixed warnings
svn-id: r5425
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r-- | scumm/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index c01e96e665..200c2d9367 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -518,11 +518,11 @@ int Sound::startTalkSound(uint32 offset, uint32 b, int mode) { while (num > 0) { _sfxFile->read(&file_byte, sizeof(file_byte)); _sfxFile->read(&file_byte_2, sizeof(file_byte_2)); - assert(i < ARRAYSIZE(_mouthSyncTimes)); + assert(i < (int)ARRAYSIZE(_mouthSyncTimes)); _mouthSyncTimes[i++] = file_byte | (file_byte_2 << 8); num--; } - assert(i < ARRAYSIZE(_mouthSyncTimes)); + assert(i < (int)ARRAYSIZE(_mouthSyncTimes)); _mouthSyncTimes[i] = 0xFFFF; _sfxMode |= mode; _curSoundPos = 0; |