diff options
author | tp <dmitry.chuyko@bell-sw.com> | 2018-12-07 18:25:12 +0300 |
---|---|---|
committer | tp <dmitry.chuyko@bell-sw.com> | 2018-12-07 18:25:12 +0300 |
commit | 1a42c58b7da4afb8066f4468fe0eff1453e608e3 (patch) | |
tree | 67799a58c42c09c24e0d539508f727f458219e3d /src/cmsxform.c | |
parent | 32f0c458c910a033375c57b46d7a3c1c606e6cbc (diff) | |
download | lcms2-1a42c58b7da4afb8066f4468fe0eff1453e608e3.tar.gz |
#174: Cast error in cmsxform.c reported by GCC 8
Diffstat (limited to 'src/cmsxform.c')
-rw-r--r-- | src/cmsxform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmsxform.c b/src/cmsxform.c index 508117b..cf4ac01 100644 --- a/src/cmsxform.c +++ b/src/cmsxform.c @@ -807,7 +807,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; } |