WRaster: Avoid types deprecated with libtiff 4.3
commit532acdc443f6a619df73d5e7c504da96c8b92d9c
authorDavid Maciejak <david.maciejak@gmail.com>
Wed, 15 Feb 2023 11:06:46 +0000 (15 19:06 +0800)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 15 Feb 2023 11:24:09 +0000 (15 11:24 +0000)
tree757e161333cf14c88db5d6ef2ca35fe06dc495c8
parentd7d38aa4436606743712c09ac095dc0347e50aa2
WRaster: Avoid types deprecated with libtiff 4.3

This patch is fixing compiler warnings like:

load_tiff.c:42:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
load_tiff.c:43:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations]

As starting from libtiff 4.3, released in April 2021, types were moved
from uint16 to uint16_t and uint32 to uint32_t respectively.

See https://libtiff.gitlab.io/libtiff/releases/v4.3.0.html
wrlib/load_tiff.c