WaE: comparison between signed and unsigned integer expressions
This commit is contained in:
parent
c4ee0b0a74
commit
76e17e8c12
@ -122,7 +122,7 @@ static void addMenuItem( HMENU hMenu, UINT id, UINT iconId, const OUString& text
|
||||
memset( &mi, 0, sizeof( MENUITEMINFOW ) );
|
||||
|
||||
mi.cbSize = sizeof( MENUITEMINFOW );
|
||||
if( id == -1 )
|
||||
if( id == static_cast<UINT>( -1 ) )
|
||||
{
|
||||
mi.fMask=MIIM_TYPE;
|
||||
mi.fType=MFT_SEPARATOR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user