diff options
author | Karel Zak | 2011-08-01 16:20:28 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-01 16:20:28 +0200 |
commit | 8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4 (patch) | |
tree | 7fcb8f9296237dd7bc527b815fc485224ce916a5 /login-utils/chsh.c | |
parent | chfn: fix compiler warnings [-Wsign-compare] (diff) | |
download | kernel-qcow2-util-linux-8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4.tar.gz kernel-qcow2-util-linux-8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4.tar.xz kernel-qcow2-util-linux-8ef5b8e66b8c4062a218c1af2fcc15817bd8cea4.zip |
chsh: fix compiler warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r-- | login-utils/chsh.c | 2 |
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; |