tiffdec: use toff_t for exif ifd offset

versions < 4.0.0 used uint32 interchangeably, but with 4.0.0 toff_t
became 64-bit and TIFFTAG_EXIFIFD began returning it rather than
TIFF_LONG/uint32.

Change-Id: I42492bd24613a884c7496e7bfc0c5d892758bce9
This commit is contained in:
James Zern 2013-01-10 21:33:24 -08:00
parent 7c8111e4a8
commit 36c52c2cf1

View File

@ -34,7 +34,7 @@ static const struct {
// all cases.
static int ExtractMetadataFromTIFF(TIFF* const tif, Metadata* const metadata) {
int i;
uint32 exif_ifd_offset;
toff_t exif_ifd_offset;
for (i = 0; kTIFFMetadataMap[i].tag != 0; ++i) {
MetadataPayload* const payload =