From cc69f339c13238a4c153e0f4805c59c4c1d01ddf Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 31 Aug 2011 11:58:01 +0200 Subject: [PATCH] whereis: fix gcc warnings [-Wsign-compare] Signed-off-by: Karel Zak --- misc-utils/whereis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c index 03ea95e439..d776b32dda 100644 --- a/misc-utils/whereis.c +++ b/misc-utils/whereis.c @@ -241,7 +241,7 @@ findin(char *dir, char *cp) static int inpath(const char *str) { - int i; + size_t i; for (i = 0; i < ARRAY_SIZE(bindirs) - 1 ; i++) if (!strcmp(bindirs[i], str)) -- 2.47.3