diff options
author | fmalita <fmalita@chromium.org> | 2016-05-26 18:10:24 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-26 18:10:24 -0700 |
commit | 7dcb131935bda4aada0e37085c9f5e1f6a8f3842 (patch) | |
tree | c3357fb17d0a80d7b9092973f37f69ca8bc4436e /samplecode/SampleAAGeometry.cpp | |
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
Diffstat (limited to 'samplecode/SampleAAGeometry.cpp')
0 files changed, 0 insertions, 0 deletions