mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Updated format specifiers
This commit is contained in:
parent
852fd170f8
commit
68b655f3f0
|
@ -56,7 +56,7 @@ _tiffReadProc(thandle_t hdata, tdata_t buf, tsize_t size) {
|
||||||
dump_state(state);
|
dump_state(state);
|
||||||
|
|
||||||
if (state->loc > state->eof) {
|
if (state->loc > state->eof) {
|
||||||
TIFFError("_tiffReadProc", "Invalid Read at loc %lu, eof: %lu", state->loc, state->eof);
|
TIFFError("_tiffReadProc", "Invalid Read at loc %llu, eof: %llu", state->loc, state->eof);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
to_read = min(size, min(state->size, (tsize_t)state->eof) - (tsize_t)state->loc);
|
to_read = min(size, min(state->size, (tsize_t)state->eof) - (tsize_t)state->loc);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user