diff options
author | Karel Zak | 2011-08-31 11:58:01 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-31 11:58:01 +0200 |
commit | cc69f339c13238a4c153e0f4805c59c4c1d01ddf (patch) | |
tree | dd218e264bcb036cd4bfdb8c49b27925b309a526 /misc-utils/whereis.c | |
parent | Merge branch 'chcpu' of git://git.kernel.org/pub/scm/linux/kernel/git/heiko/u... (diff) | |
download | kernel-qcow2-util-linux-cc69f339c13238a4c153e0f4805c59c4c1d01ddf.tar.gz kernel-qcow2-util-linux-cc69f339c13238a4c153e0f4805c59c4c1d01ddf.tar.xz kernel-qcow2-util-linux-cc69f339c13238a4c153e0f4805c59c4c1d01ddf.zip |
whereis: fix gcc warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils/whereis.c')
-rw-r--r-- | 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 03ea95e43..d776b32dd 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)) |