changeset 36906:7d8f27be5796

Make value explicitly type float.
author ib
date Wed, 12 Mar 2014 13:30:36 +0000
parents bff7c54aa8f1
children 40b77f89f8fc
files gui/win32/interface.c gui/win32/preferences.c gui/win32/wincfg.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/interface.c	Wed Mar 12 13:24:34 2014 +0000
+++ b/gui/win32/interface.c	Wed Mar 12 13:30:36 2014 +0000
@@ -950,7 +950,7 @@
         rd.right = rd.left+guiInfo.VideoWidth;
         rd.bottom = rd.top+guiInfo.VideoHeight;
 
-        if (movie_aspect > 0.0)       // forced aspect from the cmdline
+        if (movie_aspect > 0.0f)       // forced aspect from the cmdline
             video_aspect = movie_aspect;
     }
 
--- a/gui/win32/preferences.c	Wed Mar 12 13:24:34 2014 +0000
+++ b/gui/win32/preferences.c	Wed Mar 12 13:30:36 2014 +0000
@@ -419,7 +419,7 @@
                     EnableWindow(track2, 1);
                 }
             }
-            else gtkAOExtraStereoMul = 1.0;
+            else gtkAOExtraStereoMul = 1.0f;
             SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_SETPOS, 1, (LPARAM)stereopos);
 
             SendDlgItemMessage(hwnd, ID_TRACKBAR2, TBM_SETPOS, 1, (LPARAM)delaypos);
@@ -611,7 +611,7 @@
                         gtkAOExtraStereo = TRUE;
                     else {
                         gtkAOExtraStereo = FALSE;
-                        gtkAOExtraStereoMul = 10.0;
+                        gtkAOExtraStereoMul = 10.0f;
                     }
                     gtkAOExtraStereoMul = SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_GETPOS, 0, 0) / 10.0;
 
--- a/gui/win32/wincfg.c	Wed Mar 12 13:24:34 2014 +0000
+++ b/gui/win32/wincfg.c	Wed Mar 12 13:30:36 2014 +0000
@@ -43,7 +43,7 @@
 /* params */
 int   gtkAONorm = FALSE;
 int   gtkAOExtraStereo = FALSE;
-float gtkAOExtraStereoMul = 1.0;
+float gtkAOExtraStereoMul = 1.0f;
 int   gtkCacheOn = FALSE;
 int   gtkCacheSize = 2048;
 int   gtkAutoSyncOn = FALSE;