From 527802616ecd642015fba341fdb780644481f156 Mon Sep 17 00:00:00 2001 From: Bob Friesenhahn Date: Tue, 30 Dec 2008 01:28:25 +0000 Subject: [PATCH] * tools/tiffinfoce.c (main): Use toff_t for offset type when retrieving offset of EXIF IFD. --- ChangeLog | 2 ++ tools/tiffinfoce.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1e8fbc1c..3bca90ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-12-29 Bob Friesenhahn + * 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 TIFFClientOpen() callback and other external function definitions. * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit diff --git a/tools/tiffinfoce.c b/tools/tiffinfoce.c index 7e8e5df7..c099fb3c 100644 --- a/tools/tiffinfoce.c +++ b/tools/tiffinfoce.c @@ -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 @@ -142,7 +142,7 @@ main(int argc, char* argv[]) tiffinfo(tif, order, flags); } else { do { - uint32 offset; + toff_t offset; tiffinfo(tif, order, flags); if (TIFFGetField(tif, TIFFTAG_EXIFIFD,