From: Tim Peters Date: Tue, 24 Sep 2002 15:22:30 +0000 (+0000) Subject: unicode_memchr(): Squashed compiler wng (signed-vs-unsigned comparison). X-Git-Tag: v2.2.2b1~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b3e494a46bf5f274d9c81f0386524d233e48098;p=thirdparty%2FPython%2Fcpython.git unicode_memchr(): Squashed compiler wng (signed-vs-unsigned comparison). --- 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