diff --git a/testbed/testplugin.c b/testbed/testplugin.c index db8991e4..9a7c8329 100755 --- a/testbed/testplugin.c +++ b/testbed/testplugin.c @@ -807,7 +807,7 @@ static cmsPluginTag HiddenTagPluginSample = { static cmsPluginTag HiddenTagPluginSample2 = { - { cmsPluginMagicNumber, 2060, cmsPluginTagSig, &HiddenTagPluginSample}, + { cmsPluginMagicNumber, 2060, cmsPluginTagSig, (cmsPluginBase*) &HiddenTagPluginSample}, SigInt32, { 1, 1, { cmsSigUInt32ArrayType }, NULL } }; diff --git a/testbed/zoo_icc.c b/testbed/zoo_icc.c index 36c50031..80acd7b8 100755 --- a/testbed/zoo_icc.c +++ b/testbed/zoo_icc.c @@ -60,13 +60,12 @@ void ReadAllRAWTags(cmsHPROFILE h) { cmsInt32Number i, n; cmsTagSignature sig; - cmsInt32Number len; - + n = cmsGetTagCount(h); for (i=0; i < n; i++) { sig = cmsGetTagSignature(h, i); - len = cmsReadRawTag(h, sig, NULL, 0); + cmsReadRawTag(h, sig, NULL, 0); } }