2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>

* subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
	IntGetMenuDefaultItem): Fix unsigned/signed warnings.

svn path=/trunk/; revision=5710
This commit is contained in:
Casper Hornstrup 2003-08-20 18:55:03 +00:00
parent e89f5dacce
commit 11ee47208a
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
IntGetMenuDefaultItem): Fix unsigned/signed warnings.
2003-08-19 Martin Fuchs <martin-fuchs@gmx.net>
* subsys/system/explorer/taskbar/startmenu.cpp:

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: menu.c,v 1.21 2003/08/20 14:01:16 weiden Exp $
/* $Id: menu.c,v 1.22 2003/08/20 18:55:03 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -741,7 +741,7 @@ IntSetMenuDefaultItem(PMENU_OBJECT MenuObject, UINT uItem, UINT fByPos)
BOOL ret = FALSE;
PMENU_ITEM MenuItem = MenuObject->MenuItemList;
if(uItem == -1)
if(uItem == (UINT)-1)
{
while(MenuItem)
{
@ -836,7 +836,7 @@ IntGetMenuDefaultItem(PMENU_OBJECT MenuObject, UINT fByPos, UINT gmdiFlags,
ExAcquireFastMutexUnsafe(&MenuObject->MenuItemsLock);
IntReleaseMenuObject(SubMenuObject);
if(sres > -1)
if(sres > (UINT)-1)
res = sres;
}