]> git.saurik.com Git - wxWidgets.git/commitdiff
signed/unsigned comparison warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Mar 2006 17:35:39 +0000 (17:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 10 Mar 2006 17:35:39 +0000 (17:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/fontdlg.cpp

index b268f07129e39df94a350458cb3789f71a300057..12c51ca23f1bd99f336562bff106d95d10f1b3d1 100644 (file)
@@ -126,7 +126,7 @@ pascal OSStatus wxMacCarbonFontPanelHandler(EventHandlerCallRef nextHandler, Eve
                             ByteCount *sizePtr = (ByteCount *)CFDataGetBytePtr(sizesData);
                             UInt32 *bytePtr = (UInt32*)CFDataGetBytePtr(valuesData);
                             ATSUAttributeValuePtr valuesPtr = bytePtr ;
-                            for ( int i = 0 ; i < count ; ++i)
+                            for ( ItemCount i = 0 ; i < count ; ++i)
                             {
                                 if ( tagPtr[i] == kATSUColorTag && sizePtr[i] == sizeof(RGBColor))
                                 {