From 046a69c47ac561b32b9d5abe7ee7b38a6de679ed Mon Sep 17 00:00:00 2001 From: Lee Howard Date: Sat, 11 Dec 2010 19:33:48 +0000 Subject: [PATCH] * tools/tiffinfoce.c: strip byte counts are uint64* now --- ChangeLog | 6 +++++- tools/tiffinfoce.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f88c69a..d023b631 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2010-12-08 Lee Howard +2010-12-11 Lee Howard + + * tools/tiffinfoce.c: strip byte counts are uint64* now + +2010-12-11 Lee Howard * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero or missing byte-count tag diff --git a/tools/tiffinfoce.c b/tools/tiffinfoce.c index a7248f97..5334790d 100644 --- a/tools/tiffinfoce.c +++ b/tools/tiffinfoce.c @@ -1,4 +1,4 @@ -/* $Id: tiffinfoce.c,v 1.3 2010-03-10 18:56:50 bfriesen Exp $ */ +/* $Id: tiffinfoce.c,v 1.4 2010-12-11 19:33:48 faxguy Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -398,7 +398,7 @@ TIFFReadRawData(TIFF* tif, int bitrev) { tstrip_t nstrips = TIFFNumberOfStrips(tif); const char* what = TIFFIsTiled(tif) ? "Tile" : "Strip"; - uint32* stripbc; + uint64* stripbc; TIFFGetField(tif, TIFFTAG_STRIPBYTECOUNTS, &stripbc); if (nstrips > 0) {