From 338311378e4e8b8f4efcdb2232e67d98b446a5e0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 29 Jun 2000 14:50:15 +0000 Subject: Change the loop index in normalizestring() to size_t too, to avoid a warning on Windows. --- Python/codecs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/codecs.c b/Python/codecs.c index ceff376..20df522 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; -- cgit v0.12