diff options
author | Guido van Rossum <guido@python.org> | 2000-06-28 21:23:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-28 21:23:33 (GMT) |
commit | 2f8a05441893a404b67c3269f1f4ac15a7b9701f (patch) | |
tree | ccfe2e7f05e5286abfcfb52e78f1d30fc14e9f05 | |
parent | 3262e1675335e00e0f437cce921a1b22a8a33b76 (diff) | |
download | cpython-2f8a05441893a404b67c3269f1f4ac15a7b9701f.zip cpython-2f8a05441893a404b67c3269f1f4ac15a7b9701f.tar.gz cpython-2f8a05441893a404b67c3269f1f4ac15a7b9701f.tar.bz2 |
Trent Mick: use size_t instead of int where appropriate (in strxfrm(),
to hold strlen() outcome).
-rw-r--r-- | Modules/_localemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |