* tools/tiffinfoce.c (main): Use toff_t for offset type when

retrieving offset of EXIF IFD.
This commit is contained in:
Bob Friesenhahn 2008-12-30 01:28:25 +00:00
parent 226f5fd57e
commit 527802616e
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2008-12-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us> 2008-12-29 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* tools/tiffinfoce.c (main): Use toff_t for offset type when
retrieving offset of EXIF IFD.
* libtiff/tiffio.h: Undeprecate toff_t and restore its use in the * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
TIFFClientOpen() callback and other external function definitions. TIFFClientOpen() callback and other external function definitions.
* tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit

View File

@ -1,4 +1,4 @@
/* $Id: tiffinfoce.c,v 1.1 2007-01-15 18:40:40 mloskot Exp $ */ /* $Id: tiffinfoce.c,v 1.2 2008-12-30 01:28:25 bfriesen Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -142,7 +142,7 @@ main(int argc, char* argv[])
tiffinfo(tif, order, flags); tiffinfo(tif, order, flags);
} else { } else {
do { do {
uint32 offset; toff_t offset;
tiffinfo(tif, order, flags); tiffinfo(tif, order, flags);
if (TIFFGetField(tif, TIFFTAG_EXIFIFD, if (TIFFGetField(tif, TIFFTAG_EXIFIFD,