commit | 338311378e4e8b8f4efcdb2232e67d98b446a5e0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jun 29 14:50:15 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jun 29 14:50:15 2000 +0000 |
tree | e701aa020500975a2b189450b1a7212012b6362f | |
parent | a22a0b3e86d0ed2832ab5004374eaa15cd9fe57d [diff] |
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 ceff376..20df522 100644 --- a/Python/codecs.c +++ b/Python/codecs.c
@@ -82,7 +82,7 @@ static PyObject *normalizestring(const char *string) { - register int i; + register size_t i; size_t len = strlen(string); char *p; PyObject *v;