From 6a73d81ff8e62df76ffc0ebbc6b09b1c9fcccf85 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 7 Jun 2016 09:06:09 +0000 Subject: warnings fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16933 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/main_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp index 06618f7034..84248d6a5e 100644 --- a/plugins/DbEditorPP/src/main_window.cpp +++ b/plugins/DbEditorPP/src/main_window.cpp @@ -274,7 +274,7 @@ INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) if ((HWND)lParam == GetDlgItem(hwnd, IDC_SPLITTER)) { RECT rc; GetClientRect(hwnd, &rc); - POINT pt = { wParam, 0 }; + POINT pt = { (LONG)wParam, 0 }; ScreenToClient(hwnd, &pt); splitterPos = rc.left + pt.x + 1; -- cgit v1.2.3