From: Guido van Rossum Date: Thu, 28 Aug 1997 18:11:05 +0000 (+0000) Subject: Some long variables should have been int to match the 'i' format specifier. X-Git-Tag: v1.5a4~289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24a49941b334e762d5f0c4868165bcc6ccdfae95;p=python Some long variables should have been int to match the 'i' format specifier. --- diff --git a/Modules/operator.c b/Modules/operator.c index 3b799e5e1c..43324a29c8 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -143,7 +143,7 @@ op_getslice(s,a) PyObject *s, *a; { PyObject *a1; - long a2,a3; + int a2,a3; if (!PyArg_ParseTuple(a,"Oii",&a1,&a2,&a3)) return NULL; @@ -155,7 +155,7 @@ op_setslice(s,a) PyObject *s, *a; { PyObject *a1, *a4; - long a2,a3; + int a2,a3; if (!PyArg_ParseTuple(a,"OiiO",&a1,&a2,&a3,&a4)) return NULL; @@ -172,7 +172,7 @@ op_delslice(s,a) PyObject *s, *a; { PyObject *a1; - long a2,a3; + int a2,a3; if(! PyArg_ParseTuple(a,"Oii",&a1,&a2,&a3)) return NULL;