]> git.saurik.com Git - wxWidgets.git/commitdiff
signed/unsigned warning fix
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 06:40:07 +0000 (06:40 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Mar 2011 06:40:07 +0000 (06:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/toolbar.mm

index 8c1525df0018cf148cb8dbd7683781592d38ea7d..f1233ce809525ba5c5a390f94bb0f33cc0971b04 100644 (file)
@@ -887,7 +887,7 @@ void wxToolBar::DoLayout()
     
     // find the maximum tool width and height
     // and the number of stretchable items
-    unsigned numStretchableSpaces = 0;
+    int numStretchableSpaces = 0;
     wxToolBarTool *tool;
     wxToolBarToolsList::compatibility_iterator node = m_tools.GetFirst();
     while ( node )