commit | 7dcb131935bda4aada0e37085c9f5e1f6a8f3842 | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Thu May 26 18:10:24 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 26 18:10:24 2016 -0700 |
tree | c3357fb17d0a80d7b9092973f37f69ca8bc4436e | |
parent | b8486f5092ec3c0760a08ff1ecf76ad601b8609d [diff] |
Silence ASAN int32 overflow warning It's fine to overflow SK_MaxS32 by one, the subsequent cast ensures correct clamping. But we need to cast earlier in order to make ASAN happy. TBR=mtklein@google.com,reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2013243002 Review-Url: https://codereview.chromium.org/2013243002