aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleAAGeometry.cpp
diff options
context:
space:
mode:
authorGravatar fmalita <fmalita@chromium.org>2016-05-26 18:10:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-26 18:10:24 -0700
commit7dcb131935bda4aada0e37085c9f5e1f6a8f3842 (patch)
treec3357fb17d0a80d7b9092973f37f69ca8bc4436e /samplecode/SampleAAGeometry.cpp
parentb8486f5092ec3c0760a08ff1ecf76ad601b8609d (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