Mercurial > mplayer.hg
changeset 36818:530c055800f2
Add cast.
This is missing in r36913.
author | ib |
---|---|
date | Sun, 23 Feb 2014 20:04:54 +0000 |
parents | 7a8415e52841 |
children | bee0071a0ef3 |
files | gui/win32/preferences.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/win32/preferences.c Sun Feb 23 19:52:57 2014 +0000 +++ b/gui/win32/preferences.c Sun Feb 23 20:04:54 2014 +0000 @@ -590,13 +590,13 @@ if(SendDlgItemMessage(hwnd, ID_CACHE, BM_GETCHECK, 0, 0) == BST_CHECKED) gtkCacheOn = TRUE; else gtkCacheOn = FALSE; - gtkCacheSize = SendDlgItemMessage(hwnd, ID_UPDOWN1, UDM_GETPOS32, 0, NULL); + gtkCacheSize = SendDlgItemMessage(hwnd, ID_UPDOWN1, UDM_GETPOS32, 0, (LPARAM)NULL); /* autosync */ if(SendDlgItemMessage(hwnd, ID_AUTOSYNC, BM_GETCHECK, 0, 0) == BST_CHECKED) gtkAutoSyncOn = TRUE; else gtkAutoSyncOn = FALSE; - gtkAutoSync = SendDlgItemMessage(hwnd, ID_UPDOWN2, UDM_GETPOS32, 0, NULL); + gtkAutoSync = SendDlgItemMessage(hwnd, ID_UPDOWN2, UDM_GETPOS32, 0, (LPARAM)NULL); /* video window */ if(SendDlgItemMessage(hwnd, ID_VIDEOWINDOW, BM_GETCHECK, 0, 0) == BST_CHECKED)