diff src/audio/SDL_mixer.c @ 2130:3ee59c43d784

Fixes for compiling with Visual C++ 8.0 Express Edition
author Sam Lantinga <slouken@libsdl.org>
date Tue, 19 Jun 2007 05:53:56 +0000
parents 5f6550e5184f
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/SDL_mixer.c	Sat Jun 16 15:32:04 2007 +0000
+++ b/src/audio/SDL_mixer.c	Tue Jun 19 05:53:56 2007 +0000
@@ -303,8 +303,8 @@
             float src1, src2;
             double dst_sample;
             /* !!! FIXME: are these right? */
-            const double max_audioval = 3.40282347e+38F;
-            const double min_audioval = -3.40282347e+38F;
+            const double max_audioval = 3.402823466e+38F;
+            const double min_audioval = -3.402823466e+38F;
 
             len /= 4;
             while (len--) {
@@ -332,8 +332,8 @@
             float src1, src2;
             double dst_sample;
             /* !!! FIXME: are these right? */
-            const double max_audioval = 3.40282347e+38F;
-            const double min_audioval = -3.40282347e+38F;
+            const double max_audioval = 3.402823466e+38F;
+            const double min_audioval = -3.402823466e+38F;
 
             len /= 4;
             while (len--) {