From f7155274cc105927c0889c9efa68013802e5827a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Apr 2003 01:26:43 +0000 Subject: [PATCH] fixed a harmless warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imagpng.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/imagpng.cpp b/src/common/imagpng.cpp index 892b129e48..f0801e3dcb 100644 --- a/src/common/imagpng.cpp +++ b/src/common/imagpng.cpp @@ -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); -- 2.45.2