changeset 54978:c1af89d9d44c

8215130: Fix errors in LittleCMS 2.9 reported by GCC 8 Reviewed-by: prr
author dchuyko
date Fri, 08 Feb 2019 16:37:35 +0300
parents fec908fc5a2a
children fcac457cb2a8
files src/java.desktop/share/native/liblcms/cmsxform.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/native/liblcms/cmsxform.c	Thu Feb 07 13:57:12 2019 +0000
+++ b/src/java.desktop/share/native/liblcms/cmsxform.c	Fri Feb 08 16:37:35 2019 +0300
@@ -836,7 +836,7 @@
 
                             // Save the day? (Ignore the warning)
                             if (Plugin->OldXform) {
-                                   p->OldXform = (_cmsTransformFn) p->xform;
+                                   p->OldXform = (_cmsTransformFn)(void*) p->xform;
                                    p->xform = _cmsTransform2toTransformAdaptor;
                             }