mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Some long variables should have been int to match the 'i' format specifier.
This commit is contained in:
parent
02840fdf84
commit
24a49941b3
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue