[Scummvm-cvs-logs] SF.net SVN: scummvm:[55863] scummvm/trunk/engines/kyra/sound_towns.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Feb 10 02:19:24 CET 2011


Revision: 55863
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55863&view=rev
Author:   lordhoto
Date:     2011-02-10 01:19:24 +0000 (Thu, 10 Feb 2011)

Log Message:
-----------
KYRA: Remove superfluous const in type conversion.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sound_towns.cpp

Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp	2011-02-10 01:05:48 UTC (rev 55862)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp	2011-02-10 01:19:24 UTC (rev 55863)
@@ -84,7 +84,7 @@
 		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 @@
 	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) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list