diff options
author | Strangerke | 2014-04-28 07:08:23 +0200 |
---|---|---|
committer | Strangerke | 2014-04-28 07:08:23 +0200 |
commit | 464627f0432d6038ee6afd6af632a8a34d1d89d8 (patch) | |
tree | a29ab6e8b949d8407296dfe1d89ae8475abbb402 /engines/mads/audio.cpp | |
parent | 5bb66bdd5b2adc0c11da235ddcf02966f38c4411 (diff) | |
download | scummvm-rg350-464627f0432d6038ee6afd6af632a8a34d1d89d8.tar.gz scummvm-rg350-464627f0432d6038ee6afd6af632a8a34d1d89d8.tar.bz2 scummvm-rg350-464627f0432d6038ee6afd6af632a8a34d1d89d8.zip |
MADS: Fix a couple of warnings
Diffstat (limited to 'engines/mads/audio.cpp')
-rw-r--r-- | engines/mads/audio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/audio.cpp b/engines/mads/audio.cpp index 0a9637bfcf..1c61e13957 100644 --- a/engines/mads/audio.cpp +++ b/engines/mads/audio.cpp @@ -92,7 +92,7 @@ void AudioPlayer::playSound(int soundIndex, bool loop) { return; } - if (soundIndex < 0 || soundIndex > _dsrEntries.size() - 1) { + if (soundIndex < 0 || soundIndex > (int)_dsrEntries.size() - 1) { warning("Invalid sound index: %i (max %i), not playing sound", soundIndex, _dsrEntries.size() - 1); return; } |