summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--login-utils/chsh.c2
1 files changed, 1 insertions, 1 deletions
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;