From: Karel Zak Date: Mon, 1 Aug 2011 14:20:28 +0000 (+0200) Subject: chsh: fix compiler warnings [-Wsign-compare] X-Git-Tag: v2.20-rc2~129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4;p=thirdparty%2Futil-linux.git chsh: fix compiler warnings [-Wsign-compare] Signed-off-by: Karel Zak --- diff --git a/login-utils/chsh.c b/login-utils/chsh.c index 4795bdd584..bea5814628 100644 --- a/login-utils/chsh.c +++ b/login-utils/chsh.c @@ -319,7 +319,7 @@ prompt (char *question, char *def_val) { */ static int check_shell (char *shell) { - int i, c; + unsigned int i, c; if (!shell) return -1;