We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37679c8 commit c93f5d2Copy full SHA for c93f5d2
src/encode.c
@@ -961,7 +961,7 @@ PyImaging_LibTiffEncoderNew(PyObject *self, PyObject *args) {
961
);
962
} else if (type == TIFF_LONG8) {
963
status = ImagingLibTiffSetField(
964
- &encoder->state, (ttag_t)key_int, PyLong_AsLongLong(value)
+ &encoder->state, (ttag_t)key_int, (uint64)PyLong_AsLongLong(value)
965
966
} else {
967
TRACE(
0 commit comments