From 2f8a05441893a404b67c3269f1f4ac15a7b9701f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 28 Jun 2000 21:23:33 +0000 Subject: [PATCH] Trent Mick: use size_t instead of int where appropriate (in strxfrm(), to hold strlen() outcome). --- Modules/_localemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index 68c6e6eadca..3e630bda43a 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c @@ -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;