X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5bb2251332040fd8ac7adb9406ea2516a077ed6..205b0c9c6aa69c02a7774846e677910bf1609a53:/src/mac/pnghand.cpp diff --git a/src/mac/pnghand.cpp b/src/mac/pnghand.cpp index 3d2690803c..52b07f6e60 100644 --- a/src/mac/pnghand.cpp +++ b/src/mac/pnghand.cpp @@ -538,7 +538,7 @@ bool wxPNGReader::ReadFile(char * ImageFileName) { if ( pixel_depth == 8 ) { - for ( int i = 0 ; i < info_ptr->width ; ++i ) + for ( size_t i = 0 ; i < info_ptr->width ; ++i ) { png_color_struct* color ; RGBColor col ; @@ -582,7 +582,7 @@ bool wxPNGReader::ReadFile(char * ImageFileName) } else { - for ( int i = 0 ; i < info_ptr->width ; ++i ) + for ( size_t i = 0 ; i < info_ptr->width ; ++i ) { png_color_struct* color ; RGBColor col ; @@ -601,7 +601,7 @@ bool wxPNGReader::ReadFile(char * ImageFileName) } else { - for ( int i = 0 ; i < info_ptr->width ; ++i ) + for ( size_t i = 0 ; i < info_ptr->width ; ++i ) { png_color_struct* color ; RGBColor col ;