summaryrefslogtreecommitdiff
path: root/Modules/operator.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-28 18:11:05 +0000
committerGuido van Rossum <guido@python.org>1997-08-28 18:11:05 +0000
commitccdc964248efb1140b2eb7543d4f58c1fc855464 (patch)
treef1fe618dcad89d40a9b1c7fc7b4eeb4163a34113 /Modules/operator.c
parent1a636d9a76dcf273d0ffa9d3524e66ed3b4ccc67 (diff)
downloadcpython-ccdc964248efb1140b2eb7543d4f58c1fc855464.tar.gz
Some long variables should have been int to match the 'i' format specifier.
Diffstat (limited to 'Modules/operator.c')
-rw-r--r--Modules/operator.c6
1 files changed, 3 insertions, 3 deletions
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;