Mercurial > mplayer.hg
diff gui/win32/preferences.c @ 36906:7d8f27be5796
Make value explicitly type float.
author | ib |
---|---|
date | Wed, 12 Mar 2014 13:30:36 +0000 |
parents | c0004493b01b |
children |
line wrap: on
line diff
--- 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;