summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/appl/shutdowniconw32.cxx2
1 files changed, 1 insertions, 1 deletions
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<UINT>( -1 ) )
{
mi.fMask=MIIM_TYPE;
mi.fType=MFT_SEPARATOR;