summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-29 14:50:15 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-29 14:50:15 (GMT)
commit338311378e4e8b8f4efcdb2232e67d98b446a5e0 (patch)
treee701aa020500975a2b189450b1a7212012b6362f /Python/codecs.c
parenta22a0b3e86d0ed2832ab5004374eaa15cd9fe57d (diff)
downloadcpython-338311378e4e8b8f4efcdb2232e67d98b446a5e0.zip
cpython-338311378e4e8b8f4efcdb2232e67d98b446a5e0.tar.gz
cpython-338311378e4e8b8f4efcdb2232e67d98b446a5e0.tar.bz2
Change the loop index in normalizestring() to size_t too, to avoid a
warning on Windows.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r--Python/codecs.c2
1 files changed, 1 insertions, 1 deletions
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;