mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Use Py_ssize_t instead of long
This commit is contained in:
parent
a0f1f6692c
commit
2feb481ca2
|
@ -35,9 +35,9 @@ _tkinit(PyObject* self, PyObject* args)
|
||||||
{
|
{
|
||||||
Tcl_Interp* interp;
|
Tcl_Interp* interp;
|
||||||
|
|
||||||
long arg;
|
Py_ssize_t arg;
|
||||||
int is_interp;
|
int is_interp;
|
||||||
if (!PyArg_ParseTuple(args, "li", &arg, &is_interp))
|
if (!PyArg_ParseTuple(args, "ni", &arg, &is_interp))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (is_interp)
|
if (is_interp)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user