[Scummvm-cvs-logs] SF.net SVN: scummvm:[53916] scummvm/trunk/sound/softsynth/mt32/tables.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Oct 29 02:40:57 CEST 2010


Revision: 53916
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53916&view=rev
Author:   lordhoto
Date:     2010-10-29 00:40:57 +0000 (Fri, 29 Oct 2010)

Log Message:
-----------
MT32: Remove useless cast.

Modified Paths:
--------------
    scummvm/trunk/sound/softsynth/mt32/tables.cpp

Modified: scummvm/trunk/sound/softsynth/mt32/tables.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/tables.cpp	2010-10-29 00:40:35 UTC (rev 53915)
+++ scummvm/trunk/sound/softsynth/mt32/tables.cpp	2010-10-29 00:40:57 UTC (rev 53916)
@@ -587,7 +587,7 @@
 	initSaw(noteLookup, noteLookup->div2);
 
 	//synth->printDebug("Note %f; freq=%f, div=%f", note, freq, rate / freq);
-	file = initWave(synth, noteLookup, (const float)WGAMP, div2, file);
+	file = initWave(synth, noteLookup, WGAMP, div2, file);
 
 	// Create the pitch tables
 	if (noteLookup->wavTable == NULL)


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