mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user