diff Objects/unicodeobject.c @ 25392:bb2033c8b92f 2.2

unicode_memchr(): Squashed compiler wng (signed-vs-unsigned comparison).
author Tim Peters <tim.peters@gmail.com>
date Tue, 24 Sep 2002 15:22:30 +0000
parents de21e93badf6
children 29d40eae8736
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Tue Sep 24 15:01:01 2002 +0000
+++ b/Objects/unicodeobject.c	Tue Sep 24 15:22:30 2002 +0000
@@ -4428,7 +4428,7 @@
 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<n; ++i)
 		if (s[i]==c)
 			return s+i;