[libpng16] Consistently use png_memset(), png_memcpy(), and png_memcmp(),

except in pngtest.c and example.c where these macros are not visible.
This commit is contained in:
Glenn Randers-Pehrson
2012-08-10 16:01:45 -05:00
parent ad5a993954
commit 26849f4693
7 changed files with 15 additions and 11 deletions

View File

@@ -1907,8 +1907,8 @@ png_image_set_PLTE(png_image_write_control *display)
png_color palette[256];
png_byte tRNS[256];
memset(tRNS, 255, (sizeof tRNS));
memset(palette, 0, (sizeof palette));
png_memset(tRNS, 255, (sizeof tRNS));
png_memset(palette, 0, (sizeof palette));
for (i=num_trans=0; i<entries; ++i)
{