aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMax Horn2003-05-21 17:33:32 +0000
committerMax Horn2003-05-21 17:33:32 +0000
commitb4c94e4aee28fe46165bf3b153e85b78a487ef9b (patch)
tree29d435db9730fe955548d48c7ad4e63c0d729f3b /sound
parentffac2da5aa824fb67ffa48957a5aedae919bce92 (diff)
downloadscummvm-rg350-b4c94e4aee28fe46165bf3b153e85b78a487ef9b.tar.gz
scummvm-rg350-b4c94e4aee28fe46165bf3b153e85b78a487ef9b.tar.bz2
scummvm-rg350-b4c94e4aee28fe46165bf3b153e85b78a487ef9b.zip
pedantic warning fix
svn-id: r7792
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 e3743c4f41..890f155db8 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -833,7 +833,7 @@ void SoundMixer::ChannelMP3::mix(int16 *data, uint len) {
}
mad_synth_frame(&_synth, &_frame);
_posInFrame = 0;
- _position = (unsigned char *)_stream.next_frame - (unsigned char *)_ptr;
+ _position = _stream.next_frame - (unsigned char *)_ptr;
}
}