summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-06-07 09:06:09 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-06-07 09:06:09 +0000
commit6a73d81ff8e62df76ffc0ebbc6b09b1c9fcccf85 (patch)
treedce5e0f108f7c78220f1ef6b84aab4d7ce1b8e55 /plugins
parent4dfaa33e510293e5b50d5501d939b2f11ea15903 (diff)
warnings fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16933 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/DbEditorPP/src/main_window.cpp2
1 files changed, 1 insertions, 1 deletions
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;