8215130: Fix errors in LittleCMS 2.9 reported by GCC 8

Reviewed-by: prr
This commit is contained in:
Dmitry Chuyko 2019-02-08 16:37:35 +03:00
parent 3fe6276adb
commit 1020cb0ef3

View File

@ -836,7 +836,7 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut,
// Save the day? (Ignore the warning)
if (Plugin->OldXform) {
p->OldXform = (_cmsTransformFn) p->xform;
p->OldXform = (_cmsTransformFn)(void*) p->xform;
p->xform = _cmsTransform2toTransformAdaptor;
}