summaryrefslogtreecommitdiffstats
path: root/login-utils/chfn.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/chfn.c')
-rw-r--r--login-utils/chfn.c2
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)