[MPlayer-cvslog] r37002 - in trunk/gui/win32: interface.c preferences.c wincfg.c

ib subversion at mplayerhq.hu
Wed Mar 12 14:30:36 CET 2014


Author: ib
Date: Wed Mar 12 14:30:36 2014
New Revision: 37002

Log:
Make value explicitly type float.

Modified:
   trunk/gui/win32/interface.c
   trunk/gui/win32/preferences.c
   trunk/gui/win32/wincfg.c

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Wed Mar 12 14:24:34 2014	(r37001)
+++ trunk/gui/win32/interface.c	Wed Mar 12 14:30:36 2014	(r37002)
@@ -950,7 +950,7 @@ static int update_videowindow(void)
         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;
     }
 

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Wed Mar 12 14:24:34 2014	(r37001)
+++ trunk/gui/win32/preferences.c	Wed Mar 12 14:30:36 2014	(r37002)
@@ -419,7 +419,7 @@ static LRESULT CALLBACK PrefsWndProc(HWN
                     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 @@ static LRESULT CALLBACK PrefsWndProc(HWN
                         gtkAOExtraStereo = TRUE;
                     else {
                         gtkAOExtraStereo = FALSE;
-                        gtkAOExtraStereoMul = 10.0;
+                        gtkAOExtraStereoMul = 10.0f;
                     }
                     gtkAOExtraStereoMul = SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_GETPOS, 0, 0) / 10.0;
 

Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c	Wed Mar 12 14:24:34 2014	(r37001)
+++ trunk/gui/win32/wincfg.c	Wed Mar 12 14:30:36 2014	(r37002)
@@ -43,7 +43,7 @@ static const char gui_configuration[] = 
 /* params */
 int   gtkAONorm = FALSE;
 int   gtkAOExtraStereo = FALSE;
-float gtkAOExtraStereoMul = 1.0;
+float gtkAOExtraStereoMul = 1.0f;
 int   gtkCacheOn = FALSE;
 int   gtkCacheSize = 2048;
 int   gtkAutoSyncOn = FALSE;


More information about the MPlayer-cvslog mailing list