From 0fa64fa3a7c09bd53be91f5c10e01fff8bdf7242 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 30 Sep 2002 03:01:17 +0000 Subject: * cygpath.cc (close_arg): Remove unused static. * mkgroup.c (enum_local_users): Avoid compiler warning. (enum_users): Ditto. * mkpasswd.c: Ditto throughout. * ssp.c: Ditto throughout. --- winsup/utils/mkgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/utils/mkgroup.c') diff --git a/winsup/utils/mkgroup.c b/winsup/utils/mkgroup.c index 73a5cb403..d37889360 100644 --- a/winsup/utils/mkgroup.c +++ b/winsup/utils/mkgroup.c @@ -140,7 +140,7 @@ enum_local_users (LPWSTR groupname) MAX_PREFERRED_LENGTH, &entries, &total, &reshdl)) { - int i, first = 1; + unsigned i, first = 1; for (i = 0; i < entries; ++i) if (buf1[i].lgrmi1_sidusage == SidTypeUser) @@ -259,7 +259,7 @@ enum_users (LPWSTR servername, LPWSTR groupname) MAX_PREFERRED_LENGTH, &entries, &total, &reshdl)) { - int i, first = 1; + unsigned i, first = 1; for (i = 0; i < entries; ++i) { -- cgit v1.2.3