summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;