libtiff: tiffinfo: update curdir from uint16_t to tdir_t for more than 64k IFD handling.

From 9103999432325052339ee74a7c3d18507008d896 Mon Sep 17 00:00:00 2001
From: Su_Laus <[EMAIL REDACTED]>
Date: Tue, 13 Dec 2022 17:28:01 +0100
Subject: [PATCH] tiffinfo: update curdir from uint16_t to tdir_t for more than
 64k IFD handling.

---
 tools/tiffinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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))