diff --git a/programs/winhelp/winhelp.c b/programs/winhelp/winhelp.c index 28d464d3f42..4e9a71740d1 100644 --- a/programs/winhelp/winhelp.c +++ b/programs/winhelp/winhelp.c @@ -1111,8 +1111,8 @@ static LRESULT CALLBACK WINHELP_TextWndProc(HWND hWnd, UINT msg, WPARAM wParam, HLPFILE* hlpfile; HLPFILE_WINDOWINFO* wi; - mouse.x = LOWORD(lParam); - mouse.y = HIWORD(lParam); + mouse.x = (short)LOWORD(lParam); + mouse.y = (short)HIWORD(lParam); if (part->link) switch (part->link->cookie) {