diff options
author | Marti Maria <marti.maria@littlecms.com> | 2018-12-09 16:56:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-09 16:56:41 +0100 |
commit | 8005ab02c3be0680fecc7c86d719b6c2545b5671 (patch) | |
tree | 67799a58c42c09c24e0d539508f727f458219e3d | |
parent | 32f0c458c910a033375c57b46d7a3c1c606e6cbc (diff) | |
parent | 1a42c58b7da4afb8066f4468fe0eff1453e608e3 (diff) | |
download | lcms2-8005ab02c3be0680fecc7c86d719b6c2545b5671.tar.gz |
Merge pull request #175 from dchuyko/174
Fix #174: Cast error in cmsxform.c reported by GCC 8
Looks great, thank you!
-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; } |