summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-05-08 09:20:00 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2012-05-08 09:20:00 +0000
commit7b9d934638fb2dd8a09068bcfec390975c60f94e (patch)
treebdd83ab38c874ea5a8f36f3b8803171acf9ed2f1
parent6d84c2d0b9af7eb020ac5e4fd5553efd91b63e95 (diff)
PackUpdater:
x64 compilation fix git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@299 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r--PackUpdater/Src/Options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/PackUpdater/Src/Options.cpp b/PackUpdater/Src/Options.cpp
index 56e7def..8e133b6 100644
--- a/PackUpdater/Src/Options.cpp
+++ b/PackUpdater/Src/Options.cpp
@@ -53,7 +53,7 @@ INT_PTR CALLBACK UpdateNotifyOptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
SendDlgItemMessage(hwndDlg, IDC_PERIODSPIN, UDM_SETPOS, 0, (LPARAM)Period);
Edit_LimitText(GetDlgItem(hwndDlg, IDC_PERIOD), 2);
- g_pOldProc = (WNDPROC)SetWindowLong(GetDlgItem(hwndDlg, IDC_PERIOD), GWL_WNDPROC, (LONG)MyEditProc);
+ g_pOldProc = (WNDPROC)SetWindowLongPtr(GetDlgItem(hwndDlg, IDC_PERIOD), GWLP_WNDPROC, (LONG)MyEditProc);
ComboBox_InsertString(GetDlgItem(hwndDlg, IDC_PERIODMEASURE), 0, TranslateT("hours"));
ComboBox_InsertString(GetDlgItem(hwndDlg, IDC_PERIODMEASURE), 1, TranslateT("days"));