summaryrefslogtreecommitdiff
path: root/pngpriv.h
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2016-12-26 16:27:33 -0800
committerJohn Bowler <jbowler@acm.org>2016-12-26 16:27:33 -0800
commit09dcb906a7fc7ccd92c9c3d225b593ba8c9df29d (patch)
treeb30a4207904c44509fe5369472549406344ca06a /pngpriv.h
parent8d4110bd618eb03a252b18456c546cef0a8475bb (diff)
downloadlibpng-09dcb906a7fc7ccd92c9c3d225b593ba8c9df29d.tar.gz
Remove unsigned overflow
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>
Diffstat (limited to 'pngpriv.h')
0 files changed, 0 insertions, 0 deletions