mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:52:11 +00:00
[REACTOS] Fix warning C4146: unary minus operator applied to unsigned type, result still unsigned
This commit is contained in:
parent
64e182e429
commit
08c6d21e1f
6 changed files with 8 additions and 8 deletions
|
@ -1752,7 +1752,7 @@ static void FASTCALL MENU_DrawBitmapItem(HDC hdc, PITEM lpitem, const RECT *rect
|
|||
drawItem.itemData = lpitem->dwItemData;
|
||||
/* some applications make this assumption on the DC's origin */
|
||||
GreSetViewportOrgEx( hdc, lpitem->xItem, lpitem->yItem, &origorg);
|
||||
RECTL_vOffsetRect( &drawItem.rcItem, - lpitem->xItem, - lpitem->yItem);
|
||||
RECTL_vOffsetRect(&drawItem.rcItem, -(LONG)lpitem->xItem, -(LONG)lpitem->yItem);
|
||||
co_IntSendMessage( UserHMGetHandle(WndOwner), WM_DRAWITEM, 0, (LPARAM)&drawItem);
|
||||
GreSetViewportOrgEx( hdc, origorg.x, origorg.y, NULL);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue