WaE: comparison between signed and unsigned integer expressions

This commit is contained in:
David Tardon
2012-03-08 10:24:54 +01:00
parent c4ee0b0a74
commit 76e17e8c12

View File

@@ -122,7 +122,7 @@ static void addMenuItem( HMENU hMenu, UINT id, UINT iconId, const OUString& text
memset( &mi, 0, sizeof( MENUITEMINFOW ) ); memset( &mi, 0, sizeof( MENUITEMINFOW ) );
mi.cbSize = sizeof( MENUITEMINFOW ); mi.cbSize = sizeof( MENUITEMINFOW );
if( id == -1 ) if( id == static_cast<UINT>( -1 ) )
{ {
mi.fMask=MIIM_TYPE; mi.fMask=MIIM_TYPE;
mi.fType=MFT_SEPARATOR; mi.fType=MFT_SEPARATOR;