From 1b3e494a46bf5f274d9c81f0386524d233e48098 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 24 Sep 2002 15:22:30 +0000 Subject: [PATCH] unicode_memchr(): Squashed compiler wng (signed-vs-unsigned comparison). --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 58ea03373428..642b0f643a0f 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -4428,7 +4428,7 @@ static const char *stripformat[] = {"|O:lstrip", "|O:rstrip", "|O:strip"}; static const Py_UNICODE * unicode_memchr(const Py_UNICODE *s, Py_UNICODE c, size_t n) { - int i; + size_t i; for (i = 0; i