diff options
author | Max Horn | 2002-11-18 20:05:25 +0000 |
---|---|---|
committer | Max Horn | 2002-11-18 20:05:25 +0000 |
commit | f2007606a9155190ffe061dfde90fd1711ec73e8 (patch) | |
tree | 8640143c414098ca991edd00cbd3ad1cdf105e5d /scumm | |
parent | d9aebd1cba00652be2cf698bb533ce11a52fa9f6 (diff) | |
download | scummvm-rg350-f2007606a9155190ffe061dfde90fd1711ec73e8.tar.gz scummvm-rg350-f2007606a9155190ffe061dfde90fd1711ec73e8.tar.bz2 scummvm-rg350-f2007606a9155190ffe061dfde90fd1711ec73e8.zip |
fixed warning
svn-id: r5599
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index f6fa20b4c3..73e9d514fd 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -1437,7 +1437,7 @@ int IMuseInternal::set_music_volume(uint vol) return 0; _music_volume = vol; vol = vol * _master_volume / 255; - for (int i = 0; i < ARRAYSIZE (_channel_volume); i++) { + for (uint i = 0; i < ARRAYSIZE (_channel_volume); i++) { _channel_volume_eff[i] = _channel_volume[i] * vol / 255; } if (!_paused) @@ -1456,7 +1456,7 @@ int IMuseInternal::set_master_volume (uint vol) _master_volume = vol; vol = vol * _music_volume / 255; - for (int i = 0; i < ARRAYSIZE (_channel_volume); i++) { + for (uint i = 0; i < ARRAYSIZE (_channel_volume); i++) { _channel_volume_eff[i] = _channel_volume[i] * vol / 255; } if (!_paused) |