aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_mod.cpp
diff options
context:
space:
mode:
authorOliver Kiehl2003-09-24 12:57:37 +0000
committerOliver Kiehl2003-09-24 12:57:37 +0000
commitc96c900546ba9954d0a76e50036df7d211efd486 (patch)
tree652227e3202decf9c95409debc010e11b049318f /scumm/player_mod.cpp
parenta7dfe35706d6a618476b78d5542e1c2ffd0923db (diff)
downloadscummvm-rg350-c96c900546ba9954d0a76e50036df7d211efd486.tar.gz
scummvm-rg350-c96c900546ba9954d0a76e50036df7d211efd486.tar.bz2
scummvm-rg350-c96c900546ba9954d0a76e50036df7d211efd486.zip
fix gcc compile
svn-id: r10399
Diffstat (limited to 'scumm/player_mod.cpp')
-rw-r--r--scumm/player_mod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/player_mod.cpp b/scumm/player_mod.cpp
index 828fc3ae7a..8f5bdb99e9 100644
--- a/scumm/player_mod.cpp
+++ b/scumm/player_mod.cpp
@@ -93,9 +93,9 @@ void Player_MOD::startChannel (int id, const char *data, int size, int rate, uin
_channels[i].id = id;
_channels[i].vol = vol;
_channels[i].pan = pan;
- _channels[i].ptr = (byte *)data;
+ _channels[i].ptr = (const byte*)data;
_channels[i].freq = rate;
- _channels[i].input = makeLinearInputStream(SoundMixer::FLAG_AUTOFREE | (loopStart != loopEnd ? SoundMixer::FLAG_LOOP : 0), (byte *)data, size, loopStart, loopEnd - loopStart);
+ _channels[i].input = makeLinearInputStream(SoundMixer::FLAG_AUTOFREE | (loopStart != loopEnd ? SoundMixer::FLAG_LOOP : 0), (const byte*)data, size, loopStart, loopEnd - loopStart);
_channels[i].converter = makeRateConverter(rate, _mixer->getOutputRate(), false, false);
}