diff --git a/sfx2/source/appl/shutdowniconw32.cxx b/sfx2/source/appl/shutdowniconw32.cxx index 8bd18035dd7f..294cefb0c9ff 100644 --- a/sfx2/source/appl/shutdowniconw32.cxx +++ b/sfx2/source/appl/shutdowniconw32.cxx @@ -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( -1 ) ) { mi.fMask=MIIM_TYPE; mi.fType=MFT_SEPARATOR;