mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[WIN32K]
Fix MSVC warnings svn path=/trunk/; revision=65721
This commit is contained in:
parent
2768e3abbd
commit
4fa10c7ef9
4 changed files with 28 additions and 28 deletions
|
@ -31,8 +31,8 @@ typedef struct tagACON
|
|||
USHORT atomModName;
|
||||
USHORT rt;
|
||||
ULONG CURSORF_flags;
|
||||
INT cpcur;
|
||||
INT cicur;
|
||||
UINT cpcur;
|
||||
UINT cicur;
|
||||
PCURICON_OBJECT * aspcur;
|
||||
DWORD * aicur;
|
||||
INT * ajifRate;
|
||||
|
|
|
@ -128,8 +128,8 @@ UserDrawWindowFrame(HDC hdc,
|
|||
HBRUSH hbrush = NtGdiSelectBrush( hdc, gpsi->hbrGray );
|
||||
NtGdiPatBlt( hdc, rect->left, rect->top, rect->right - rect->left - width, height, PATINVERT );
|
||||
NtGdiPatBlt( hdc, rect->left, rect->top + height, width, rect->bottom - rect->top - height, PATINVERT );
|
||||
NtGdiPatBlt( hdc, rect->left + width, rect->bottom - 1, rect->right - rect->left - width, -height, PATINVERT );
|
||||
NtGdiPatBlt( hdc, rect->right - 1, rect->top, -width, rect->bottom - rect->top - height, PATINVERT );
|
||||
NtGdiPatBlt( hdc, rect->left + width, rect->bottom - 1, rect->right - rect->left - width, -(LONG)height, PATINVERT );
|
||||
NtGdiPatBlt( hdc, rect->right - 1, rect->top, -(LONG)width, rect->bottom - rect->top - height, PATINVERT );
|
||||
NtGdiSelectBrush( hdc, hbrush );
|
||||
}
|
||||
|
||||
|
|
|
@ -2198,7 +2198,7 @@ NtUserGetMenuBarInfo(
|
|||
if (!Menu)
|
||||
RETURN(FALSE);
|
||||
|
||||
if (idItem < 0 || idItem > Menu->cItems)
|
||||
if ((idItem < 0) || ((ULONG)idItem > Menu->cItems))
|
||||
RETURN(FALSE);
|
||||
|
||||
RECTL_vSetEmptyRect(&kmbi.rcBar);
|
||||
|
@ -2427,7 +2427,7 @@ NtUserMenuItemFromPoint(
|
|||
PMENU Menu;
|
||||
PWND Window = NULL;
|
||||
PITEM mi;
|
||||
int i;
|
||||
ULONG i;
|
||||
DECLARE_RETURN(int);
|
||||
|
||||
TRACE("Enter NtUserMenuItemFromPoint\n");
|
||||
|
|
|
@ -16,7 +16,7 @@ IntGetProp(PWND Window, ATOM Atom)
|
|||
{
|
||||
PLIST_ENTRY ListEntry;
|
||||
PPROPERTY Property;
|
||||
int i;
|
||||
UINT i;
|
||||
|
||||
ListEntry = Window->PropListHead.Flink;
|
||||
|
||||
|
|
Loading…
Reference in a new issue