summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/clc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/clc.cpp b/src/modules/clist/clc.cpp
index d05ee95686..b3af146add 100644
--- a/src/modules/clist/clc.cpp
+++ b/src/modules/clist/clc.cpp
@@ -1231,7 +1231,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam,
if (!dat->filterSearch)
dat->szQuickSearch[0] = 0;
- POINT pt = { LOWORD(lParam), HIWORD(lParam) };
+ POINT pt = { (short) LOWORD(lParam), (short) HIWORD(lParam) };
if (pt.x == -1 && pt.y == -1) {
dat->selection = cli.pfnGetRowByIndex(dat, dat->selection, &contact, NULL);
if (dat->selection != -1)