[Scummvm-cvs-logs] SF.net SVN: scummvm:[42904] scummvm/trunk/sound/softsynth/mt32
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Jul 29 22:03:46 CEST 2009
Revision: 42904
http://scummvm.svn.sourceforge.net/scummvm/?rev=42904&view=rev
Author: lordhoto
Date: 2009-07-29 20:03:46 +0000 (Wed, 29 Jul 2009)
Log Message:
-----------
Fix typo, which made our "floorf" macro use "floorf" instead of "floor" on systems without "floorf".
Modified Paths:
--------------
scummvm/trunk/sound/softsynth/mt32/partial.cpp
scummvm/trunk/sound/softsynth/mt32/synth.cpp
scummvm/trunk/sound/softsynth/mt32/tables.cpp
Modified: scummvm/trunk/sound/softsynth/mt32/partial.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/partial.cpp 2009-07-29 19:41:52 UTC (rev 42903)
+++ scummvm/trunk/sound/softsynth/mt32/partial.cpp 2009-07-29 20:03:46 UTC (rev 42904)
@@ -36,7 +36,7 @@
// Hence we re-define them here. The only potential drawback is that it
// might be a little bit slower this way.
#define powf(x,y) ((float)pow(x,y))
-#define floorf(x) ((float)floorf(x))
+#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#endif
Modified: scummvm/trunk/sound/softsynth/mt32/synth.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/synth.cpp 2009-07-29 19:41:52 UTC (rev 42903)
+++ scummvm/trunk/sound/softsynth/mt32/synth.cpp 2009-07-29 20:03:46 UTC (rev 42904)
@@ -36,7 +36,7 @@
// Hence we re-define them here. The only potential drawback is that it
// might be a little bit slower this way.
#define powf(x,y) ((float)pow(x,y))
-#define floorf(x) ((float)floorf(x))
+#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#endif
Modified: scummvm/trunk/sound/softsynth/mt32/tables.cpp
===================================================================
--- scummvm/trunk/sound/softsynth/mt32/tables.cpp 2009-07-29 19:41:52 UTC (rev 42903)
+++ scummvm/trunk/sound/softsynth/mt32/tables.cpp 2009-07-29 20:03:46 UTC (rev 42904)
@@ -36,7 +36,7 @@
// Hence we re-define them here. The only potential drawback is that it
// might be a little bit slower this way.
#define powf(x,y) ((float)pow(x,y))
-#define floorf(x) ((float)floorf(x))
+#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#endif
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