diff options
author | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2008-12-31 03:06:27 +0000 |
---|---|---|
committer | Bob Friesenhahn <bfriesen@simple.dallas.tx.us> | 2008-12-31 03:06:27 +0000 |
commit | 968401fdf3a334747f92fd22e1131b213d734bac (patch) | |
tree | a093f3c45e1b44630161589c0107aaa319d666aa /tools/tiffinfo.c | |
parent | f44e64263432b74215a835f6b503077a68ce46b0 (diff) | |
download | libtiff-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.c | 4 |
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) { |