From 8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 1 Aug 2011 16:20:28 +0200 Subject: [PATCH] chsh: fix compiler warnings [-Wsign-compare] Signed-off-by: Karel Zak --- login-utils/chsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3