summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-28 21:23:33 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-28 21:23:33 (GMT)
commit2f8a05441893a404b67c3269f1f4ac15a7b9701f (patch)
treeccfe2e7f05e5286abfcfb52e78f1d30fc14e9f05
parent3262e1675335e00e0f437cce921a1b22a8a33b76 (diff)
downloadcpython-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.c2
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;