mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Use correct format character for C int type
This commit is contained in:
parent
988c28cf92
commit
ca404aed61
2
_webp.c
2
_webp.c
|
@ -24,7 +24,7 @@ PyObject* WebPEncode_wrapper(PyObject* self, PyObject* args)
|
||||||
Py_ssize_t exif_size;
|
Py_ssize_t exif_size;
|
||||||
size_t ret_size;
|
size_t ret_size;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "s#nifss#s#",
|
if (!PyArg_ParseTuple(args, "s#iifss#s#",
|
||||||
(char**)&rgb, &size, &width, &height, &quality_factor, &mode,
|
(char**)&rgb, &size, &width, &height, &quality_factor, &mode,
|
||||||
&icc_bytes, &icc_size, &exif_bytes, &exif_size)) {
|
&icc_bytes, &icc_size, &exif_bytes, &exif_size)) {
|
||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user