diff options
author | Max Horn | 2011-06-10 20:18:44 +0200 |
---|---|---|
committer | Max Horn | 2011-06-10 22:15:47 +0200 |
commit | a0cba0a76032129d0197fa6413ea6ae6068ba073 (patch) | |
tree | 598acaf635e80438505dbb458eb23bdc1cd424a5 /engines/sword25/sfx/soundengine.cpp | |
parent | d46bfff0660042de52732eb4176e23b73a45e2d6 (diff) | |
download | scummvm-rg350-a0cba0a76032129d0197fa6413ea6ae6068ba073.tar.gz scummvm-rg350-a0cba0a76032129d0197fa6413ea6ae6068ba073.tar.bz2 scummvm-rg350-a0cba0a76032129d0197fa6413ea6ae6068ba073.zip |
SWORD25: Fix warning
Diffstat (limited to 'engines/sword25/sfx/soundengine.cpp')
-rw-r--r-- | engines/sword25/sfx/soundengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/sfx/soundengine.cpp b/engines/sword25/sfx/soundengine.cpp index 13ee3fd1d0..e650ae6945 100644 --- a/engines/sword25/sfx/soundengine.cpp +++ b/engines/sword25/sfx/soundengine.cpp @@ -73,7 +73,7 @@ void SoundEngine::update() { } void SoundEngine::setVolume(float volume, SOUND_TYPES type) { - int val = 255 * volume; + int val = (int)(255 * volume); switch (type) { case SoundEngine::MUSIC: |