aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2014-06-01 17:27:59 -0400
committerMatthew Hoops2014-06-01 17:28:34 -0400
commita83ce70467bf25ebb9637ae80f134bdb9c0733bb (patch)
treef903c27eb8c39f92bc656dc5601004f1ed336212 /engines
parent460a9113af25596a5dbfdee82a30d7e6baa40121 (diff)
downloadscummvm-rg350-a83ce70467bf25ebb9637ae80f134bdb9c0733bb.tar.gz
scummvm-rg350-a83ce70467bf25ebb9637ae80f134bdb9c0733bb.tar.bz2
scummvm-rg350-a83ce70467bf25ebb9637ae80f134bdb9c0733bb.zip
SCI: Silence a gcc conversion warning
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/soundcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 2bd7f50de5..73e0a23a6a 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -61,7 +61,7 @@ reg_t SoundCommandParser::kDoSoundInit(int argc, reg_t *argv, reg_t acc) {
}
int SoundCommandParser::getSoundResourceId(reg_t obj) {
- int resourceId = obj.getSegment() ? readSelectorValue(_segMan, obj, SELECTOR(number)) : -1;
+ int resourceId = obj.getSegment() ? (int)readSelectorValue(_segMan, obj, SELECTOR(number)) : -1;
// Modify the resourceId for the Windows versions that have an alternate MIDI soundtrack, like SSCI did.
if (g_sci && g_sci->_features->useAltWinGMSound()) {
// Check if the alternate MIDI song actually exists...