Author: cwittich
Date: Mon Feb 11 22:16:02 2008
New Revision: 32304
URL:
http://svn.reactos.org/svn/reactos?rev=32304&view=rev
Log:
fix some warnings in msvc build
Modified:
trunk/reactos/base/shell/explorer/taskbar/traynotify.cpp
Modified: trunk/reactos/base/shell/explorer/taskbar/traynotify.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/taskba…
==============================================================================
--- trunk/reactos/base/shell/explorer/taskbar/traynotify.cpp (original)
+++ trunk/reactos/base/shell/explorer/taskbar/traynotify.cpp Mon Feb 11 22:16:02 2008
@@ -420,8 +420,8 @@
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