Skip to content

Commit

Permalink
ping_trans_alpha should have the same size as palette.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed May 9, 2024
1 parent 75a5c6d commit f95e6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/png.c
Original file line number Diff line number Diff line change
Expand Up @@ -7984,7 +7984,7 @@ static MagickBooleanType WriteOnePNGImage(MngWriteInfo *mng_info,
ping_wrote_caNv;

png_byte
ping_trans_alpha[256];
ping_trans_alpha[257];

png_color
palette[257];
Expand Down

0 comments on commit f95e6e4

Please sign in to comment.