]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/pnghand.cpp
Added log.h inclusion
[wxWidgets.git] / src / mac / pnghand.cpp
index 3d2690803c0779d77e550a6cf9d8e0a3e31fc2bc..52b07f6e600227ebe5ba3b31c500000c76e0edce 100644 (file)
@@ -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 ;