From: Vadim Zeitlin Date: Fri, 10 Mar 2006 17:35:39 +0000 (+0000) Subject: signed/unsigned comparison warning fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cc59d9396317abec50b184cdfc8fd0bab0058d82 signed/unsigned comparison warning fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/fontdlg.cpp b/src/mac/carbon/fontdlg.cpp index b268f07129..12c51ca23f 100644 --- a/src/mac/carbon/fontdlg.cpp +++ b/src/mac/carbon/fontdlg.cpp @@ -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)) {