changeset 36817:7a8415e52841

Be pedantic about argument.
author ib
date Sun, 23 Feb 2014 19:52:57 +0000
parents 790318d7ce23
children 530c055800f2
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:35:08 2014 +0000
+++ b/gui/win32/preferences.c	Sun Feb 23 19:52:57 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, 0);
+                    gtkCacheSize = SendDlgItemMessage(hwnd, ID_UPDOWN1, UDM_GETPOS32, 0, 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, 0);
+                    gtkAutoSync = SendDlgItemMessage(hwnd, ID_UPDOWN2, UDM_GETPOS32, 0, NULL);
 
                     /* video window */
                     if(SendDlgItemMessage(hwnd, ID_VIDEOWINDOW, BM_GETCHECK, 0, 0) == BST_CHECKED)