From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: util-linux-owner@vger.kernel.org Received: from mail-bw0-f46.google.com ([209.85.214.46]:63175 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932411Ab1KHWP2 (ORCPT ); Tue, 8 Nov 2011 17:15:28 -0500 Received: by mail-bw0-f46.google.com with SMTP id 11so873205bke.19 for ; Tue, 08 Nov 2011 14:15:27 -0800 (PST) From: Francesco Cosoleto To: util-linux@vger.kernel.org Cc: Francesco Cosoleto Subject: [PATCH] whereis: silence comparison between signed/unsigned warning Date: Tue, 8 Nov 2011 23:14:55 +0100 Message-Id: <1320790495-29290-4-git-send-email-cosoleto@gmail.com> In-Reply-To: <1320790495-29290-1-git-send-email-cosoleto@gmail.com> References: <1320790495-29290-1-git-send-email-cosoleto@gmail.com> Sender: util-linux-owner@vger.kernel.org List-ID: Signed-off-by: Francesco Cosoleto --- misc-utils/whereis.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c index 03ea95e..d776b32 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)) -- 1.7.3.4