diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-02 19:24:18 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-02 19:24:18 +0000 |
commit | 1fb814c69fe24e3b365dbf485d1fbef4a9993c4f (patch) | |
tree | 23a89149f5c34a2afe3bb60ae6a14ee3bbe9afaf /plugins/Boltun/boltun.cpp | |
parent | a8af2c147a524df5f48e81910331febf042b505f (diff) |
64-bit compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Boltun/boltun.cpp')
-rw-r--r-- | plugins/Boltun/boltun.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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);
|