aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-10 01:19:24 +0000
committerJohannes Schickel2011-02-10 01:19:24 +0000
commita9361da157da8ad1672fdb930758952017dbf7b8 (patch)
tree78bef47f06c29ca309234f14efa6123dc6870615
parent9f6dc040ff56d6e1b4f77275acb3a1d4750a38e6 (diff)
downloadscummvm-rg350-a9361da157da8ad1672fdb930758952017dbf7b8.tar.gz
scummvm-rg350-a9361da157da8ad1672fdb930758952017dbf7b8.tar.bz2
scummvm-rg350-a9361da157da8ad1672fdb930758952017dbf7b8.zip
KYRA: Remove superfluous const in type conversion.
svn-id: r55863
-rw-r--r--engines/kyra/sound_towns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp
index 416ad520bb..084bae5aab 100644
--- a/engines/kyra/sound_towns.cpp
+++ b/engines/kyra/sound_towns.cpp
@@ -84,7 +84,7 @@ void SoundTowns::playTrack(uint8 track) {
return;
track -= 2;
- const int32 *const tTable = (const int32 *const)cdaData();
+ const int32 *const tTable = (const int32 *)cdaData();
int tTableIndex = 3 * track;
int trackNum = (int)READ_LE_UINT32(&tTable[tTableIndex + 2]);
@@ -533,7 +533,7 @@ void SoundTownsPC98_v2::playTrack(uint8 track) {
if (track == _lastTrack && _musicEnabled)
return;
- const uint16 *const cdaTracks = (const uint16 *const) cdaData();
+ const uint16 *const cdaTracks = (const uint16 *)cdaData();
int trackNum = -1;
if (_vm->gameFlags().platform == Common::kPlatformFMTowns) {