From: Sami Kerola Date: Wed, 29 Jun 2011 21:26:27 +0000 (+0200) Subject: blockdev: type mismatch fix X-Git-Tag: v2.20-rc1~113^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75737ad645e4f9914d96d9e7c0fd00c85a4aaaab;p=thirdparty%2Futil-linux.git blockdev: type mismatch fix Signed-off-by: Sami Kerola --- diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c index 0674780b8f..ee75254397 100644 --- a/disk-utils/blockdev.c +++ b/disk-utils/blockdev.c @@ -178,7 +178,7 @@ static const struct bdc bdcms[] = static void __attribute__ ((__noreturn__)) usage(FILE * out) { - int i; + size_t i; fprintf(out, _("\nUsage:\n" " %1$s -V\n" " %1$s --report [devices]\n" @@ -201,7 +201,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) static int find_cmd(char *s) { - int j; + size_t j; for (j = 0; j < ARRAY_SIZE(bdcms); j++) if (!strcmp(s, bdcms[j].name))