commit | 2b87a483ab1bc15410d16b1b9f6452cf9488240c | [log] [tgz] |
---|---|---|
author | Leonard Chan <leonardchan@google.com> | Wed May 12 14:05:56 2021 -0700 |
committer | Leonard Chan <leonardchan@google.com> | Wed May 12 22:01:18 2021 +0000 |
tree | 810cc7259b1db20a2999978ee541cd24ce445723 | |
parent | 5f2abd1e7c898863348215461bcf20d9a07fa9d5 [diff] |
Fix instances of -Wnull-pointer-arithmetic As of https://reviews.llvm.org/D98798, clang warns on UB from subtraction against a null pointer. This addresses one of the new instances of this warning. Bug: 75276 Change-Id: Iebd43796deae1dccc18ababcff1e75769b518cfb Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/libpng/+/529201 Reviewed-by: Shai Barack <shayba@google.com>