aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-27 22:55:37 +0000
committerMartin Kiewitz2009-12-27 22:55:37 +0000
commit538806af19285b3dcf2408b44cede4c70f3cc278 (patch)
treed5fa923f0d002c97c0036a58dffed44081bbd711
parent86306e1e4d5b24aef93d150b7b05ee0c05021521 (diff)
downloadscummvm-rg350-538806af19285b3dcf2408b44cede4c70f3cc278.tar.gz
scummvm-rg350-538806af19285b3dcf2408b44cede4c70f3cc278.tar.bz2
scummvm-rg350-538806af19285b3dcf2408b44cede4c70f3cc278.zip
SCI/newmusic: fixed warning
svn-id: r46663
-rw-r--r--engines/sci/sfx/soundcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index fe1d281aaa..7908d3a1e4 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -644,7 +644,7 @@ void SoundCommandParser::cmdUpdateHandle(reg_t obj, int16 value) {
}
musicSlot->loop = (GET_SEL32V(_segMan, obj, loop) == 0xFFFF ? 1 : 0);
- uint32 objVol = CLIP<int>(GET_SEL32V(_segMan, obj, vol), 0, 255);
+ int32 objVol = CLIP<int>(GET_SEL32V(_segMan, obj, vol), 0, 255);
if (objVol != musicSlot->volume)
_music->soundSetVolume(musicSlot, objVol);
uint32 objPrio = GET_SEL32V(_segMan, obj, pri);