diff options
author | Jonathan Gray | 2003-09-26 17:51:49 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-09-26 17:51:49 +0000 |
commit | 2ef170833362f224c43a0433e9fac07aa7947f60 (patch) | |
tree | 4cf7aea8596e31888f8e85c0feaa0a35d2c3fe87 /scumm | |
parent | a84f204b726a54befca435f2519001e15d7581d9 (diff) | |
download | scummvm-rg350-2ef170833362f224c43a0433e9fac07aa7947f60.tar.gz scummvm-rg350-2ef170833362f224c43a0433e9fac07aa7947f60.tar.bz2 scummvm-rg350-2ef170833362f224c43a0433e9fac07aa7947f60.zip |
stop gcc complaining
svn-id: r10417
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/player_mod.cpp | 2 | ||||
-rw-r--r-- | scumm/player_mod.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/player_mod.cpp b/scumm/player_mod.cpp index 7cf07b6d78..c5996828c5 100644 --- a/scumm/player_mod.cpp +++ b/scumm/player_mod.cpp @@ -77,7 +77,7 @@ void Player_MOD::clearUpdateProc() { _mixamt = 0; } -void Player_MOD::startChannel (int id, const char *data, int size, int rate, uint8 vol, int loopStart, int loopEnd, int8 pan) { +void Player_MOD::startChannel (int id, char *data, int size, int rate, uint8 vol, int loopStart, int loopEnd, int8 pan) { int i; if (id == 0) error("player_mod - attempted to start channel id 0"); diff --git a/scumm/player_mod.h b/scumm/player_mod.h index 4310d16f3e..f49ccefcbf 100644 --- a/scumm/player_mod.h +++ b/scumm/player_mod.h @@ -36,7 +36,7 @@ public: virtual ~Player_MOD(); virtual void setMasterVolume(int vol); - virtual void startChannel(int id, const char *data, int size, int rate, uint8 vol, int loopStart = 0, int loopEnd = 0, int8 pan = 0); + virtual void startChannel(int id, char *data, int size, int rate, uint8 vol, int loopStart = 0, int loopEnd = 0, int8 pan = 0); virtual void stopChannel(int id); virtual void setChannelVol(int id, uint8 vol); virtual void setChannelPan(int id, int8 pan); |