mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
The previous code always results in an unsigned arithmetic overflow, this is well defined but produces errors from clang with the option to detect unsigned overflow. As the expression only gets evaluated once per row in this version of libpng it is easier just to rewrite it. Signed-off-by: John Bowler <jbowler@acm.org>
22 KiB
22 KiB