[MPlayer-cvslog] r36914 - trunk/gui/win32/preferences.c

ib subversion at mplayerhq.hu
Sun Feb 23 21:04:54 CET 2014


Author: ib
Date: Sun Feb 23 21:04:54 2014
New Revision: 36914

Log:
Add cast.

This is missing in r36913.

Modified:
   trunk/gui/win32/preferences.c

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Sun Feb 23 20:52:57 2014	(r36913)
+++ trunk/gui/win32/preferences.c	Sun Feb 23 21:04:54 2014	(r36914)
@@ -590,13 +590,13 @@ static LRESULT CALLBACK PrefsWndProc(HWN
                     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)


More information about the MPlayer-cvslog mailing list