commit | 2f8a05441893a404b67c3269f1f4ac15a7b9701f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 28 21:23:33 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 28 21:23:33 2000 +0000 |
tree | ccfe2e7f05e5286abfcfb52e78f1d30fc14e9f05 | |
parent | 3262e1675335e00e0f437cce921a1b22a8a33b76 [diff] |
Trent Mick: use size_t instead of int where appropriate (in strxfrm(), to hold strlen() outcome).
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index 68c6e6e..3e630bd 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c
@@ -281,7 +281,7 @@ PyObject* args; { char *s,*buf; - int n1,n2; + size_t n1,n2; PyObject *result; if(!PyArg_ParseTuple(args,"s:strxfrm",&s)) return NULL;