From 8d48924681e67a10567ea0523078d1a8ada0bb66 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 1 Aug 2011 16:19:54 +0200 Subject: chfn: fix compiler warnings [-Wsign-compare] Signed-off-by: Karel Zak --- login-utils/chfn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'login-utils/chfn.c') 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) -- cgit v1.2.3-55-g7522