aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/skcms/skcms.c4
-rwxr-xr-xthird_party/skcms/version.sha12
2 files changed, 3 insertions, 3 deletions
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