summaryrefslogtreecommitdiff
path: root/no_history/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'no_history/options.cpp')
-rw-r--r--no_history/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/no_history/options.cpp b/no_history/options.cpp
index 16d93f4..72add6a 100644
--- a/no_history/options.cpp
+++ b/no_history/options.cpp
@@ -98,7 +98,7 @@ static void SetAllContactIcons(HWND hwndList)
-static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
+static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
static HANDLE hItemAll;
switch ( msg ) {
@@ -126,7 +126,7 @@ static BOOL CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
SetAllContactIcons(GetDlgItem(hwndDlg,IDC_LIST));
SetListGroupIcons(GetDlgItem(hwndDlg,IDC_LIST),(HANDLE)SendDlgItemMessage(hwndDlg,IDC_LIST,CLM_GETNEXTITEM,CLGN_ROOT,0),hItemAll,NULL);
- SendDlgItemMessage(hwndDlg, IDC_SPN_TIMEOUT, UDM_SETRANGE, 0, (LPARAM)MAKELONG(60 * 60, 1));
+ SendDlgItemMessage(hwndDlg, IDC_SPN_TIMEOUT, UDM_SETRANGE, 0, (LPARAM)MAKELONG(60 * 60, 1));
return FALSE;
case WM_SETFOCUS: