From 24a49941b334e762d5f0c4868165bcc6ccdfae95 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 28 Aug 1997 18:11:05 +0000 Subject: Some long variables should have been int to match the 'i' format specifier. --- Modules/operator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/operator.c b/Modules/operator.c index 3b799e5..43324a2 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; -- cgit v0.12