mirror of https://github.com/python/cpython.git
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
|
@ -281,7 +281,7 @@ PyLocale_strxfrm(self,args)
|
|||
PyObject* args;
|
||||
{
|
||||
char *s,*buf;
|
||||
int n1,n2;
|
||||
size_t n1,n2;
|
||||
PyObject *result;
|
||||
if(!PyArg_ParseTuple(args,"s:strxfrm",&s))
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue