]> granicus.if.org Git - python/commitdiff
Trent Mick: use size_t instead of int where appropriate (in strxfrm(),
authorGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:23:33 +0000 (21:23 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Jun 2000 21:23:33 +0000 (21:23 +0000)
to hold strlen() outcome).

Modules/_localemodule.c

index 68c6e6eadca91f36c61a68707efb971c6cde47b5..3e630bda43a79f5a40229d3f5c4fddd72eca821e 100644 (file)
@@ -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;