Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 24a4994

Browse files
committed
Some long variables should have been int to match the 'i' format specifier.
1 parent 02840fd commit 24a4994

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/operator.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ op_getslice(s,a)
143143
PyObject *s, *a;
144144
{
145145
PyObject *a1;
146-
long a2,a3;
146+
int a2,a3;
147147

148148
if (!PyArg_ParseTuple(a,"Oii",&a1,&a2,&a3))
149149
return NULL;
@@ -155,7 +155,7 @@ op_setslice(s,a)
155155
PyObject *s, *a;
156156
{
157157
PyObject *a1, *a4;
158-
long a2,a3;
158+
int a2,a3;
159159

160160
if (!PyArg_ParseTuple(a,"OiiO",&a1,&a2,&a3,&a4))
161161
return NULL;
@@ -172,7 +172,7 @@ op_delslice(s,a)
172172
PyObject *s, *a;
173173
{
174174
PyObject *a1;
175-
long a2,a3;
175+
int a2,a3;
176176

177177
if(! PyArg_ParseTuple(a,"Oii",&a1,&a2,&a3))
178178
return NULL;

0 commit comments

Comments
 (0)