aboutsummaryrefslogtreecommitdiffstats
path: root/rd
diff options
context:
space:
mode:
Diffstat (limited to 'rd')
-rw-r--r--rd/read-tiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rd/read-tiff.c b/rd/read-tiff.c
index 3f75b83..b88b10c 100644
--- a/rd/read-tiff.c
+++ b/rd/read-tiff.c
@@ -55,7 +55,7 @@ tiff_init(FILE *fp, char *filename, unsigned int page,
"nsamples=%d, depth=%d fo=%d pm=%d scanline=%" PRId32 "\n",
h->width,h->height,h->config,h->nsamples,h->depth,
h->fillorder,h->photometric,
- TIFFScanlineSize(h->tif));
+ (uint32_t)TIFFScanlineSize(h->tif));
if (PHOTOMETRIC_PALETTE == h->photometric ||
PHOTOMETRIC_YCBCR == h->photometric ||