aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index b2c553a31a..7450960370 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -848,7 +848,7 @@ ChannelMP3::ChannelMP3(SoundMixer *mixer, void *sound, uint size, byte flags)
_position = 0;
_size = size;
_ptr = (byte *)sound;
- _releasePtr = (flags & SoundMixer::FLAG_AUTOFREE);
+ _releasePtr = (flags & SoundMixer::FLAG_AUTOFREE) != 0;
/* This variable is the number of samples to cut at the start of the MP3
file. This is needed to have lip-sync as the MP3 file have some miliseconds