Skip to content

Commit f91f93e

Browse files
authored
Merge pull request #5305 from lukegb/bug/format-strings
Fix -Wformat error in TiffDecode
2 parents 21da5b1 + 68b655f commit f91f93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libImaging/TiffDecode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _tiffReadProc(thandle_t hdata, tdata_t buf, tsize_t size) {
5656
dump_state(state);
5757

5858
if (state->loc > state->eof) {
59-
TIFFError("_tiffReadProc", "Invalid Read at loc %d, eof: %d", state->loc, state->eof);
59+
TIFFError("_tiffReadProc", "Invalid Read at loc %llu, eof: %llu", state->loc, state->eof);
6060
return 0;
6161
}
6262
to_read = min(size, min(state->size, (tsize_t)state->eof) - (tsize_t)state->loc);

0 commit comments

Comments
 (0)