diff Python/codecs.c @ 13128:cb928d926f27 legacy-trunk

Change the loop index in normalizestring() to size_t too, to avoid a warning on Windows.
author Guido van Rossum <guido@python.org>
date Thu, 29 Jun 2000 14:50:15 +0000
parents 8c8de5b736dc
children 63d2887baf11
line wrap: on
line diff
--- a/Python/codecs.c	Thu Jun 29 14:40:45 2000 +0000
+++ b/Python/codecs.c	Thu Jun 29 14:50:15 2000 +0000
@@ -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;