From 008fe34954b0bda8fd3487a9658c14581ecd813a Mon Sep 17 00:00:00 2001 From: Vlad Mironov Date: Sat, 30 Jun 2012 15:24:11 +0000 Subject: =?UTF-8?q?=D0=9D=D0=B0=D0=B2=D0=BE=D0=B4=D0=B8=D0=BC=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=80=D1=8F=D0=B4=D0=BE=D0=BA.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@695 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/help.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Variables/help.cpp') diff --git a/plugins/Variables/help.cpp b/plugins/Variables/help.cpp index 5231294de3..569fcaf7b2 100644 --- a/plugins/Variables/help.cpp +++ b/plugins/Variables/help.cpp @@ -677,7 +677,7 @@ static INT_PTR CALLBACK inputDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM ZeroMemory(dat, sizeof(INPUTDLGDATA)); SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)dat); // splitter things - dat->splitterPos = (int)db_getd(SETTING_SPLITTERPOS, -1); + dat->splitterPos = (INT_PTR)db_getd(SETTING_SPLITTERPOS, -1); { RECT rc; POINT pt; @@ -1319,7 +1319,7 @@ INT_PTR getSkinItemService(WPARAM wParam, LPARAM lParam) { int item = lParam; if (item == 0) - return (int)NULL; + return (INT_PTR)NULL; switch (item) { case VSI_HELPICON: @@ -1331,13 +1331,13 @@ INT_PTR getSkinItemService(WPARAM wParam, LPARAM lParam) hHelpIcon = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_V), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), 0); } - return (int)hHelpIcon; + return (INT_PTR)hHelpIcon; case VSI_HELPTIPTEXT: - return (int)Translate("Open String Formatting Help"); + return (INT_PTR)Translate("Open String Formatting Help"); } - return (int)NULL; + return (INT_PTR)NULL; } int iconsChanged(WPARAM wParam, LPARAM lParam) -- cgit v1.2.3