summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-08 10:24:54 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:33 +0100
commit76e17e8c124996b74fdcc2447d0ca18ccf5ed5cb (patch)
tree4c9d960a9842a86a57f1f3be7beea3a21c296210 /sfx2
parentc4ee0b0a7450b496978f10f9205023568739090e (diff)
WaE: comparison between signed and unsigned integer expressions
Diffstat (limited to 'sfx2')
-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;