* tools/tiffinfoce.c: strip byte counts are uint64* now

This commit is contained in:
Lee Howard 2010-12-11 19:33:48 +00:00
parent 22ea884fcd
commit 046a69c47a
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,8 @@
2010-12-08 Lee Howard <faxguy@howardsilvan.com>
2010-12-11 Lee Howard <faxguy@howardsilvan.com>
* tools/tiffinfoce.c: strip byte counts are uint64* now
2010-12-11 Lee Howard <faxguy@howardsilvan.com>
* libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
or missing byte-count tag

View File

@ -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) {