diff options
author | Roger Leigh <rleigh@codelibre.net> | 2021-01-01 20:14:07 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2021-01-21 23:14:13 +0000 |
commit | 39a74eede0455ec8ee334dcddf71f5354d508d8b (patch) | |
tree | 3f6515dfaa192da54d5dd731b9f90d32908b3cd5 /test/check_tag.c | |
parent | af604f119a7b23d0b14dc5940fc84e45616dee69 (diff) | |
download | libtiff-git-39a74eede0455ec8ee334dcddf71f5354d508d8b.tar.gz |
Use standard C99 integer types
Diffstat (limited to 'test/check_tag.c')
-rw-r--r-- | test/check_tag.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/check_tag.c b/test/check_tag.c index 5750d683..afbb5ce0 100644 --- a/test/check_tag.c +++ b/test/check_tag.c @@ -30,9 +30,9 @@ #include "tiffio.h" int -CheckShortField(TIFF *tif, const ttag_t field, const uint16 value) +CheckShortField(TIFF *tif, const ttag_t field, const uint16_t value) { - uint16 tmp = 123; + uint16_t tmp = 123; if (!TIFFGetField(tif, field, &tmp)) { fprintf (stderr, "Problem fetching tag %lu.\n", @@ -49,9 +49,9 @@ CheckShortField(TIFF *tif, const ttag_t field, const uint16 value) } int -CheckShortPairedField(TIFF *tif, const ttag_t field, const uint16 *values) +CheckShortPairedField(TIFF *tif, const ttag_t field, const uint16_t *values) { - uint16 tmp[2] = { 123, 456 }; + uint16_t tmp[2] = {123, 456 }; if (!TIFFGetField(tif, field, tmp, tmp + 1)) { fprintf (stderr, "Problem fetching tag %lu.\n", @@ -68,9 +68,9 @@ CheckShortPairedField(TIFF *tif, const ttag_t field, const uint16 *values) } int -CheckLongField(TIFF *tif, const ttag_t field, const uint32 value) +CheckLongField(TIFF *tif, const ttag_t field, const uint32_t value) { - uint32 tmp = 123; + uint32_t tmp = 123; if (!TIFFGetField(tif, field, &tmp)) { fprintf (stderr, "Problem fetching tag %lu.\n", |