]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/fontdlg.cpp
cleanup - fixed warnings, reformatting
[wxWidgets.git] / 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))
                                 {