]> git.saurik.com Git - wxWidgets.git/commitdiff
fixes #14110
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 18 Mar 2012 18:06:56 +0000 (18:06 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 18 Mar 2012 18:06:56 +0000 (18:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/window_osx.cpp

index e9b2ac7f4eb1aa275579504c2b765d0a077fa73d..22bb1ed118155588f256f6572b747a5dc7fe37ec 100644 (file)
@@ -2713,7 +2713,7 @@ bool wxWindowMac::RegisterHotKey(int hotkeyId, int modifiers, int keycode)
 
 bool wxWindowMac::UnregisterHotKey(int hotkeyId)
 {
-    for ( unsigned i = s_hotkeys.size()-1; i>=0; -- i )
+    for ( int i = ((int)s_hotkeys.size())-1; i>=0; -- i )
     {
         if ( s_hotkeys[i].keyId == hotkeyId )
         {