src/java.desktop/share/native/liblcms/cmsxform.c
changeset 53797 c1af89d9d44c
parent 49775 8fa5bb0cb937
equal deleted inserted replaced
53796:fec908fc5a2a 53797:c1af89d9d44c
   834                             p->FromInputFloat = _cmsGetFormatter(ContextID, *InputFormat, cmsFormatterInput, CMS_PACK_FLAGS_FLOAT).FmtFloat;
   834                             p->FromInputFloat = _cmsGetFormatter(ContextID, *InputFormat, cmsFormatterInput, CMS_PACK_FLAGS_FLOAT).FmtFloat;
   835                             p->ToOutputFloat = _cmsGetFormatter(ContextID, *OutputFormat, cmsFormatterOutput, CMS_PACK_FLAGS_FLOAT).FmtFloat;
   835                             p->ToOutputFloat = _cmsGetFormatter(ContextID, *OutputFormat, cmsFormatterOutput, CMS_PACK_FLAGS_FLOAT).FmtFloat;
   836 
   836 
   837                             // Save the day? (Ignore the warning)
   837                             // Save the day? (Ignore the warning)
   838                             if (Plugin->OldXform) {
   838                             if (Plugin->OldXform) {
   839                                    p->OldXform = (_cmsTransformFn) p->xform;
   839                                    p->OldXform = (_cmsTransformFn)(void*) p->xform;
   840                                    p->xform = _cmsTransform2toTransformAdaptor;
   840                                    p->xform = _cmsTransform2toTransformAdaptor;
   841                             }
   841                             }
   842 
   842 
   843                             return p;
   843                             return p;
   844                      }
   844                      }