提交 25ee31b1 编写于 作者: D dchuyko

8215130: Fix errors in LittleCMS 2.9 reported by GCC 8

Reviewed-by: prr
上级 acac8601
...@@ -836,7 +836,7 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut, ...@@ -836,7 +836,7 @@ _cmsTRANSFORM* AllocEmptyTransform(cmsContext ContextID, cmsPipeline* lut,
// Save the day? (Ignore the warning) // Save the day? (Ignore the warning)
if (Plugin->OldXform) { if (Plugin->OldXform) {
p->OldXform = (_cmsTransformFn) p->xform; p->OldXform = (_cmsTransformFn)(void*) p->xform;
p->xform = _cmsTransform2toTransformAdaptor; p->xform = _cmsTransform2toTransformAdaptor;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册