]> granicus.if.org Git - python/commitdiff
Some long variables should have been int to match the 'i' format specifier.
authorGuido van Rossum <guido@python.org>
Thu, 28 Aug 1997 18:11:05 +0000 (18:11 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 28 Aug 1997 18:11:05 +0000 (18:11 +0000)
Modules/operator.c

index 3b799e5e1cec4a068e59c8524a9ce99ef32d967d..43324a29c86861097c851e801c884a020d196169 100644 (file)
@@ -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;