]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed a harmless warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2003 01:26:43 +0000 (01:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Apr 2003 01:26:43 +0000 (01:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/imagpng.cpp

index 892b129e4897ee50f5c63bea5641074c1e94422f..f0801e3dcb2bce3cb2794d8146df1ef40001a1f0 100644 (file)
@@ -75,7 +75,8 @@ enum Transparency
 // have transparent pixels, i.e. either Transparency_Alpha or Transparency_Mask
 static Transparency
 CheckTransparency(const unsigned char *ptr,
-                  png_uint_32 x, png_uint_32 y, png_uint_32 w, png_uint_32 h);
+                  png_uint_32 x, png_uint_32 y, png_uint_32 w, png_uint_32 h,
+                  size_t numColBytes);
 
 // init the alpha channel for the image and fill it with 1s up to (x, y)
 static unsigned char *InitAlpha(wxImage *image, png_uint_32 x, png_uint_32 y);