From 8cefce1c8076fe366a19d30151b410ba9df77bb6 Mon Sep 17 00:00:00 2001 From: "skcms-skia-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com" Date: Tue, 3 Jul 2018 18:14:31 +0000 Subject: Roll skia/third_party/skcms 678e47d97bc5..f447e42de725 (1 commits) https://skia.googlesource.com/skcms.git/+log/678e47d97bc5..f447e42de725 2018-07-03 mtklein@chromium.org centralize and clean up disabled warnings The AutoRoll server is located here: https://skcms-skia-roll.skia.org Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, please contact the current sheriff, who should be CC'd on the roll, and stop the roller if necessary. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel TBR=ethannicholas@google.com Change-Id: Ic4b606d3193354d2cc8c8a7efca3fe8148b58925 Reviewed-on: https://skia-review.googlesource.com/139241 Commit-Queue: skcms-skia-autoroll Reviewed-by: skcms-skia-autoroll --- third_party/skcms/skcms.c | 4 ++-- third_party/skcms/version.sha1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'third_party') diff --git a/third_party/skcms/skcms.c b/third_party/skcms/skcms.c index ff382860d9..99b05cbca0 100644 --- a/third_party/skcms/skcms.c +++ b/third_party/skcms/skcms.c @@ -45,8 +45,8 @@ static float eval_curve(const skcms_Curve* curve, float x) { } float ix = fmaxf_(0, fminf_(x, 1)) * (curve->table_entries - 1); - int lo = (int) ix, - hi = (int)minus_1_ulp(ix + 1.0f); + int lo = (int) ix , + hi = (int)(float)minus_1_ulp(ix + 1.0f); float t = ix - (float)lo; float l, h; diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1 index 17803b4978..c6dcd2b8fa 100755 --- a/third_party/skcms/version.sha1 +++ b/third_party/skcms/version.sha1 @@ -1 +1 @@ -678e47d97bc59b600f189a2a1cf5f66e6780c294 \ No newline at end of file +f447e42de7255d262856aa710e84553a906e872b \ No newline at end of file -- cgit v1.2.3