diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-12 12:17:43 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-12 12:17:43 +0000 |
commit | 5aca7788f891521104f8bed712672af236465cc1 (patch) | |
tree | 9ea8115598e2d73f563e2503d0544af62f0d782c /protocols/JabberG | |
parent | d8d1baa7d5c286c907d18d278738331debc0aabd (diff) |
SetWindowLongPtr() and GetWindowLongPtr() multiple fixes for x64
git-svn-id: http://svn.miranda-ng.org/main/trunk@8571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_captcha.cpp | 2 | ||||
-rw-r--r-- | protocols/JabberG/src/ui_utils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_captcha.cpp b/protocols/JabberG/src/jabber_captcha.cpp index 31704b3769..c9a0c50860 100644 --- a/protocols/JabberG/src/jabber_captcha.cpp +++ b/protocols/JabberG/src/jabber_captcha.cpp @@ -52,7 +52,7 @@ INT_PTR CALLBACK JabberCaptchaFormDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, if (hint == NULL)
hint = TranslateT("Enter the text you see");
SetDlgItemText(hwndDlg, IDC_INSTRUCTION, TranslateTS(hint));
- SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG)params);
+ SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)params);
return TRUE;
}
diff --git a/protocols/JabberG/src/ui_utils.cpp b/protocols/JabberG/src/ui_utils.cpp index 6847c8be3b..4a5e052d84 100644 --- a/protocols/JabberG/src/ui_utils.cpp +++ b/protocols/JabberG/src/ui_utils.cpp @@ -2166,7 +2166,7 @@ void CCtrlBase::Unsubclass() {
if (m_wndproc) {
SetWindowLongPtr(m_hwnd, GWLP_WNDPROC, (LONG_PTR)m_wndproc);
- SetWindowLongPtr(m_hwnd, GWLP_USERDATA, (LONG_PTR)0);
+ SetWindowLongPtr(m_hwnd, GWLP_USERDATA, 0);
m_wndproc = 0;
} }
|