From 1fb814c69fe24e3b365dbf485d1fbef4a9993c4f Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 2 Jun 2012 19:24:18 +0000 Subject: 64-bit compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Boltun/boltun.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Boltun/boltun.cpp') diff --git a/plugins/Boltun/boltun.cpp b/plugins/Boltun/boltun.cpp index 372995be7c..b63b082329 100644 --- a/plugins/Boltun/boltun.cpp +++ b/plugins/Boltun/boltun.cpp @@ -300,7 +300,7 @@ void UpdateEverybodyCheckboxes(HWND hwndDlg) EnableWindow(wnd, Enable); } -static int CALLBACK MainDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK MainDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { BOOL bTranslated = FALSE; static bool loading = true; @@ -389,7 +389,7 @@ void UpdateUnderstandAlwaysCheckbox(HWND hwndDlg) EnableWindow(wnd, Enable); } -static int CALLBACK EngineDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) +static INT_PTR CALLBACK EngineDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { WORD param; BOOL bTranslated = FALSE; @@ -572,17 +572,17 @@ static int ContactClick(WPARAM wParam, LPARAM lParam, BOOL clickNotToChat) return 0; } -static int ContactClickAutoChat(WPARAM wParam, LPARAM lParam) +static INT_PTR ContactClickAutoChat(WPARAM wParam, LPARAM lParam) { return ContactClick(wParam, lParam, 0); } -static int ContactClickNotToChat(WPARAM wParam, LPARAM lParam) +static INT_PTR ContactClickNotToChat(WPARAM wParam, LPARAM lParam) { return ContactClick(wParam, lParam, 1); } -static int ContactClickStartChatting(WPARAM wParam, LPARAM lParam) +static INT_PTR ContactClickStartChatting(WPARAM wParam, LPARAM lParam) { HANDLE hContact = (HANDLE)wParam; StartChatting(hContact); -- cgit v1.2.3