mirror of
https://github.com/python/cpython.git
synced 2025-11-11 22:55:08 +00:00
Trent Mick: use size_t instead of int where appropriate (in strxfrm(),
to hold strlen() outcome).
This commit is contained in:
parent
3262e16753
commit
2f8a054418
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ PyLocale_strxfrm(self,args)
|
||||||
PyObject* args;
|
PyObject* args;
|
||||||
{
|
{
|
||||||
char *s,*buf;
|
char *s,*buf;
|
||||||
int n1,n2;
|
size_t n1,n2;
|
||||||
PyObject *result;
|
PyObject *result;
|
||||||
if(!PyArg_ParseTuple(args,"s:strxfrm",&s))
|
if(!PyArg_ParseTuple(args,"s:strxfrm",&s))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue