diff options
author | Su_Laus <sulau@freenet.de> | 2022-12-13 17:28:01 +0100 |
---|---|---|
committer | Su_Laus <sulau@freenet.de> | 2022-12-13 17:28:01 +0100 |
commit | 9103999432325052339ee74a7c3d18507008d896 (patch) | |
tree | 5d4b03494cb3f3019fabb20f3d8dff7df2f99730 | |
parent | 87e0190d2dc288beeee73b27e07ef3d09163fc23 (diff) | |
download | libtiff-git-9103999432325052339ee74a7c3d18507008d896.tar.gz |
tiffinfo: update curdir from uint16_t to tdir_t for more than 64k IFD handling.
-rw-r--r-- | tools/tiffinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tiffinfo.c b/tools/tiffinfo.c index 7ec7f952..43436036 100644 --- a/tools/tiffinfo.c +++ b/tools/tiffinfo.c @@ -184,7 +184,7 @@ int main(int argc, char *argv[]) do { toff_t offset = 0; - uint16_t curdir = TIFFCurrentDirectory(tif); + tdir_t curdir = TIFFCurrentDirectory(tif); printf("=== TIFF directory %d ===\n", curdir); tiffinfo(tif, order, flags, 1); if (TIFFGetField(tif, TIFFTAG_EXIFIFD, &offset)) |