diff options
author | Marti Maria <marti.maria@littlecms.com> | 2020-12-08 19:16:52 +0100 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2020-12-08 19:16:52 +0100 |
commit | b21c53594764ec65d1cdf2e91c62ec47debefe7f (patch) | |
tree | 5da4c6010a3bb3a83a1f1e702143729ce23a6150 /include/lcms2_plugin.h | |
parent | fbe6fa94a82ed4636806330c0a4b4ce1a2e261f1 (diff) | |
download | lcms2-b21c53594764ec65d1cdf2e91c62ec47debefe7f.tar.gz |
Solve Incompatible function pointer type casts #145
Thanks to vlad902 for discovering the issue
Diffstat (limited to 'include/lcms2_plugin.h')
-rw-r--r-- | include/lcms2_plugin.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/lcms2_plugin.h b/include/lcms2_plugin.h index 3b4975a..36c2f07 100644 --- a/include/lcms2_plugin.h +++ b/include/lcms2_plugin.h @@ -547,11 +547,6 @@ typedef struct { // the optimization search. Or FALSE if it is unable to optimize and want to give a chance // to the rest of optimizers. -typedef void (* _cmsOPTeval16Fn)(CMSREGISTER const cmsUInt16Number In[], - CMSREGISTER cmsUInt16Number Out[], - CMSREGISTER const void* Data); - - typedef cmsBool (* _cmsOPToptimizeFn)(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, @@ -562,7 +557,7 @@ typedef cmsBool (* _cmsOPToptimizeFn)(cmsPipeline** Lut, // duplicator and free functions should also be specified in order to duplicate the LUT construct. Use NULL to inhibit such functionality. CMSAPI void CMSEXPORT _cmsPipelineSetOptimizationParameters(cmsPipeline* Lut, - _cmsOPTeval16Fn Eval16, + _cmsInterpFn16 Eval16, void* PrivateData, _cmsFreeUserDataFn FreePrivateDataFn, _cmsDupUserDataFn DupPrivateDataFn); |