diff options
author | Karel Zak | 2011-08-01 16:19:54 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-01 16:19:54 +0200 |
commit | 8d48924681e67a10567ea0523078d1a8ada0bb66 (patch) | |
tree | 9ed3908fc68fb0671e44f036dcea201aa83e1efa /login-utils | |
parent | last: fix compiler warnings [-Wsign-compare] (diff) | |
download | kernel-qcow2-util-linux-8d48924681e67a10567ea0523078d1a8ada0bb66.tar.gz kernel-qcow2-util-linux-8d48924681e67a10567ea0523078d1a8ada0bb66.tar.xz kernel-qcow2-util-linux-8d48924681e67a10567ea0523078d1a8ada0bb66.zip |
chfn: fix compiler warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/chfn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/chfn.c b/login-utils/chfn.c index 7399b179f..59aefb197 100644 --- a/login-utils/chfn.c +++ b/login-utils/chfn.c @@ -407,7 +407,7 @@ static int check_gecos_string (msg, gecos) char *msg; char *gecos; { - int i, c; + unsigned int i, c; if (strlen(gecos) > MAX_FIELD_SIZE) { if (msg != NULL) |