summaryrefslogtreecommitdiff
path: root/tools/tiffinfo.c
diff options
context:
space:
mode:
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>2008-12-31 03:06:27 +0000
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>2008-12-31 03:06:27 +0000
commit968401fdf3a334747f92fd22e1131b213d734bac (patch)
treea093f3c45e1b44630161589c0107aaa319d666aa /tools/tiffinfo.c
parentf44e64263432b74215a835f6b503077a68ce46b0 (diff)
downloadlibtiff-git-968401fdf3a334747f92fd22e1131b213d734bac.tar.gz
* tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
tags now require 64-bit parameter rather than 32-bit. * libtiff/tif_dirread.c: Fixed issues with unaligned access to 64-bit values.
Diffstat (limited to 'tools/tiffinfo.c')
-rw-r--r--tools/tiffinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c
index 6666e5fe..0090c7f5 100644
--- a/tools/tiffinfo.c
+++ b/tools/tiffinfo.c
@@ -1,4 +1,4 @@
-/* $Id: tiffinfo.c,v 1.12 2008-12-30 00:12:11 bfriesen Exp $ */
+/* $Id: tiffinfo.c,v 1.13 2008-12-31 03:06:27 bfriesen Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -382,7 +382,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) {