From ce11751a330c954e08e2ca4bbe2285bfbc0c4fb3 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Wed, 12 Mar 2014 15:45:38 +0000 Subject: More fix for x64 Also fix dbeditor from 8572 commit git-svn-id: http://svn.miranda-ng.org/main/trunk@8584 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/src/mydetails.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MyDetails') diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp index 0f00c8b0b9..24f6cf68d4 100644 --- a/plugins/MyDetails/src/mydetails.cpp +++ b/plugins/MyDetails/src/mydetails.cpp @@ -141,7 +141,7 @@ static INT_PTR CALLBACK DlgProcSetNickname(HWND hwndDlg, UINT msg, WPARAM wParam TCHAR tmp[MS_MYDETAILS_GETMYNICKNAME_BUFFER_SIZE]; GetDlgItemText(hwndDlg, IDC_NICKNAME, tmp, SIZEOF(tmp)); - int proto_num = (int)GetWindowLongPtr(hwndDlg, GWLP_USERDATA); + LONG_PTR proto_num = GetWindowLongPtr(hwndDlg, GWLP_USERDATA); if (proto_num == -1) protocols->SetNicks(tmp); else -- cgit v1.2.3