summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-29 14:50:15 +0000
committerGuido van Rossum <guido@python.org>2000-06-29 14:50:15 +0000
commitbc3ef31d06726e3f64537b93d12c659eff999844 (patch)
tree39df5e0a2a930b124cda9bddfbe3a94cda14c7a3 /Python/codecs.c
parent269f443518a9ea55c5875490d570845744b1f4d8 (diff)
downloadcpython-bc3ef31d06726e3f64537b93d12c659eff999844.tar.gz
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 ceff376a23..20df522350 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;