From 0497295d5fd171ffdbf748d817bba202bd237b97 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Mon, 11 Feb 2008 19:16:02 +0000 Subject: [PATCH] fix some warnings in msvc build svn path=/trunk/; revision=32304 --- reactos/base/shell/explorer/taskbar/traynotify.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/shell/explorer/taskbar/traynotify.cpp b/reactos/base/shell/explorer/taskbar/traynotify.cpp index 4d596f8a5e5..d3318b21fe3 100644 --- a/reactos/base/shell/explorer/taskbar/traynotify.cpp +++ b/reactos/base/shell/explorer/taskbar/traynotify.cpp @@ -420,8 +420,8 @@ LRESULT NotifyArea::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam) case WM_CONTEXTMENU: { Point pt(lparam); POINTS p; - p.x = pt.x; - p.y = pt.y; + p.x = (SHORT) pt.x; + p.y = (SHORT) pt.y; ScreenToClient(_hwnd, &pt); if (IconHitTest(pt) == _sorted_icons.end()) { // display menu only when no icon clicked