Trent Mick: use size_t instead of int where appropriate (in strxfrm(),

to hold strlen() outcome).
This commit is contained in:
Guido van Rossum 2000-06-28 21:23:33 +00:00
parent 3262e16753
commit 2f8a054418

View file

@ -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;