fixed a harmless warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-04-13 01:26:43 +00:00
parent 30a8c81ddb
commit f7155274cc

View 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);