mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Merge pull request #288 from cgohlke/patch-2
Use correct format character for C int type
This commit is contained in:
commit
368683f176
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