diff options
author | Marti Maria <marti.maria@littlecms.com> | 2020-05-20 11:20:45 +0200 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2020-05-20 11:20:45 +0200 |
commit | 0a00fe054aed70cd4c453a2109ed14ca099ef8fb (patch) | |
tree | ecea2244f84d237329a0d8ff6d772a82e5a664c8 | |
parent | cceb97a424e8509a57761736e09640e333bac815 (diff) | |
download | lcms2-0a00fe054aed70cd4c453a2109ed14ca099ef8fb.tar.gz |
Minor fixes
Fix an historical bug, which is harmless
Remove a warning in testbed
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | testbed/testcms2.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 5ec64d9..f706e44 100644 --- a/configure.ac +++ b/configure.ac @@ -273,8 +273,8 @@ AC_SUBST(LIB_JPEG) # Check for ZLIB # have_zlib='no' -dnl PNG requires zlib so enable zlib check if PNG is requested -if test ! "$with_zlib" = 'no' || test ! "$with_png" = 'no' +dnl TIFF may require zlib so enable zlib check if TIFF is requested +if test ! "$with_zlib" = 'no' || test ! "$with_tiff" = 'no' then LIB_ZLIB='' AC_MSG_CHECKING(for ZLIB support ) diff --git a/testbed/testcms2.c b/testbed/testcms2.c index 1790276..a3588dd 100644 --- a/testbed/testcms2.c +++ b/testbed/testcms2.c @@ -95,7 +95,7 @@ cmsContext DbgThread(void) { static cmsUInt32Number n = 1; - return (cmsContext) (void*)(n++ % 0xff0); + return (cmsContext) (void*) ((cmsUInt8Number*) NULL + (n++ % 0xff0)); } // The allocate routine |