From: Francesco Cosoleto <cosoleto@gmail.com>
To: util-linux@vger.kernel.org
Cc: Francesco Cosoleto <cosoleto@gmail.com>
Subject: [PATCH] whereis: silence comparison between signed/unsigned warning
Date: Tue, 8 Nov 2011 23:14:55 +0100 [thread overview]
Message-ID: <1320790495-29290-4-git-send-email-cosoleto@gmail.com> (raw)
In-Reply-To: <1320790495-29290-1-git-send-email-cosoleto@gmail.com>
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
---
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
next prev parent reply other threads:[~2011-11-08 22:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 22:14 [PATCH] fsck.minix: remove unnecessary memset calls Francesco Cosoleto
2011-11-08 22:14 ` [PATCH] libblkid: silence a format string warning Francesco Cosoleto
2011-11-08 22:14 ` [PATCH] whereis: remove unused value warning Francesco Cosoleto
2011-11-08 22:14 ` Francesco Cosoleto [this message]
2011-11-09 9:07 ` [PATCH] whereis: silence comparison between signed/unsigned warning Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1320790495-29290-4-git-send-email-cosoleto@gmail.com \
--to=cosoleto@gmail.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).