From 76e17e8c124996b74fdcc2447d0ca18ccf5ed5cb Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 8 Mar 2012 10:24:54 +0100 Subject: [PATCH] WaE: comparison between signed and unsigned integer expressions --- sfx2/source/appl/shutdowniconw32.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;