From: Guido van Rossum Date: Thu, 29 Jun 2000 14:50:15 +0000 (+0000) Subject: Change the loop index in normalizestring() to size_t too, to avoid a X-Git-Tag: v2.0b1~1303 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=338311378e4e8b8f4efcdb2232e67d98b446a5e0;p=thirdparty%2FPython%2Fcpython.git Change the loop index in normalizestring() to size_t too, to avoid a warning on Windows. --- diff --git a/Python/codecs.c b/Python/codecs.c index ceff376a23e3..20df522350d9 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -82,7 +82,7 @@ int PyCodec_Register(PyObject *search_function) static PyObject *normalizestring(const char *string) { - register int i; + register size_t i; size_t len = strlen(string); char *p; PyObject *v;