]> granicus.if.org Git - imagemagick/commitdiff
Fix for older versions of libtiff.
authordirk <dirk@git.imagemagick.org>
Mon, 27 Oct 2014 15:27:24 +0000 (15:27 +0000)
committerdirk <dirk@git.imagemagick.org>
Mon, 27 Oct 2014 15:27:24 +0000 (15:27 +0000)
coders/tiff.c

index e161d0f15fdec30da98a8417ce9b9121d8ac6a41..e7aa78226749202db4925c3e9551504f8da75ae7 100644 (file)
@@ -904,7 +904,11 @@ static TIFFMethodType GetJpegMethod(Image* image,TIFF *tiff,uint16 photometric,
   TIFFMethodType
     method;
 
+#if defined(TIFF_VERSION_BIG)
   uint64
+#else
+  uint32
+#endif
     **value;
 
   unsigned char