diff options
-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 |