changeset 13672:2f26ef228073

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 08c46bf8a620
children 6d60b8cf1bd4
files src/share/native/sun/java2d/cmm/lcms/cmsxform.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/java2d/cmm/lcms/cmsxform.c	Wed Sep 04 06:03:48 2019 +0100
+++ b/src/share/native/sun/java2d/cmm/lcms/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;
                             }