# HG changeset patch # User ib # Date 1394631036 0 # Node ID 7d8f27be5796b57a9ef58b1d856df96c08c04fc9 # Parent bff7c54aa8f17e8ebce9835be58e7d00688ab857 Make value explicitly type float. diff -r bff7c54aa8f1 -r 7d8f27be5796 gui/win32/interface.c --- 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; } diff -r bff7c54aa8f1 -r 7d8f27be5796 gui/win32/preferences.c --- 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; diff -r bff7c54aa8f1 -r 7d8f27be5796 gui/win32/wincfg.c --- 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;