base85: fix comparison of an int and a long
authorAugie Fackler <augie@google.com>
Fri, 21 Aug 2015 14:29:42 -0400
changeset 26074 c1aefe57cf4e
parent 26073 5ef327e9c157
child 26075 e7e7182564f6
base85: fix comparison of an int and a long Caught using make local CFLAGS='-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter' CC=clang
mercurial/base85.c
--- a/mercurial/base85.c	Tue Aug 25 15:52:54 2015 -0400
+++ b/mercurial/base85.c	Fri Aug 21 14:29:42 2015 -0400
@@ -21,7 +21,7 @@
 static void
 b85prep(void)
 {
-	int i;
+	unsigned i;
 
 	memset(b85dec, 0, sizeof(b85dec));
 	for (i = 0; i < sizeof(b85chars); i++)