summaryrefslogtreecommitdiffstats
path: root/Modules/operator.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-28 18:11:05 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-28 18:11:05 (GMT)
commit24a49941b334e762d5f0c4868165bcc6ccdfae95 (patch)
treebc1625fe3f68c6e7d5e668f6a4ef4bf5df5ec3bf /Modules/operator.c
parent02840fdf84dc2dbbe01fe6c0da7397aa9e8a9420 (diff)
downloadcpython-24a49941b334e762d5f0c4868165bcc6ccdfae95.zip
cpython-24a49941b334e762d5f0c4868165bcc6ccdfae95.tar.gz
cpython-24a49941b334e762d5f0c4868165bcc6ccdfae95.tar.bz2
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 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;