aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/skcms/src/Transform.c4
-rwxr-xr-xthird_party/skcms/version.sha12
2 files changed, 3 insertions, 3 deletions
diff --git a/third_party/skcms/src/Transform.c b/third_party/skcms/src/Transform.c
index 9e893cf369..818294850e 100644
--- a/third_party/skcms/src/Transform.c
+++ b/third_party/skcms/src/Transform.c
@@ -312,8 +312,8 @@ bool g_skcms_dump_profile = false;
#endif
static bool is_identity_tf(const skcms_TransferFunction* tf) {
- static const skcms_TransferFunction I = {1,1,0,0,0,0,0};
- return 0 == memcmp(&I, tf, sizeof(I));
+ return tf->g == 1 && tf->a == 1
+ && tf->b == 0 && tf->c == 0 && tf->d == 0 && tf->e == 0 && tf->f == 0;
}
typedef struct {
diff --git a/third_party/skcms/version.sha1 b/third_party/skcms/version.sha1
index d9b63702b6..613794e829 100755
--- a/third_party/skcms/version.sha1
+++ b/third_party/skcms/version.sha1
@@ -1 +1 @@
-f3a576b6e8d430f515b6e6ff485b4f848fc6925f \ No newline at end of file
+9e351c034c2b8f6f3166efeaa65c0d4d4f4fa641 \ No newline at end of file