Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arm/arm_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ png_target_do_expand_palette_neon(png_struct *png_ptr, png_row_info *row_info,
* way despite the fact that the comments in the neon palette code
* obfuscate what is happening.
*/
png_byte *dp = row + (4/*RGBA*/*row_width - 1);
png_byte *dp = row + (4/*RGBA*/ * (size_t)row_width - 1);

/* Cosmin Truta: "Sometimes row_info->bit_depth has been changed to 8.
* In these cases, the palette hasn't been riffled."
Expand Down