From 8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 1 Aug 2011 16:20:28 +0200 Subject: chsh: fix compiler warnings [-Wsign-compare] Signed-off-by: Karel Zak --- login-utils/chsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login-utils/chsh.c') diff --git a/login-utils/chsh.c b/login-utils/chsh.c index 4795bdd58..bea581462 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; -- cgit v1.2.3-55-g7522