summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/grp.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-13 01:35:15 +0000
committerChristopher Faylor <me@cgf.cx>2001-10-13 01:35:15 +0000
commitbc6ed5498655ea0e2cc4f0748ad8311e803d5b71 (patch)
treed5aa1cd43a0d4af104f86cdfeeef6d21d8c291ae /winsup/cygwin/grp.cc
parentcb1826572ce94eabfa1e4b5e8737fad188a55048 (diff)
downloadcygnal-bc6ed5498655ea0e2cc4f0748ad8311e803d5b71.tar.gz
cygnal-bc6ed5498655ea0e2cc4f0748ad8311e803d5b71.tar.bz2
cygnal-bc6ed5498655ea0e2cc4f0748ad8311e803d5b71.zip
* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.
Diffstat (limited to 'winsup/cygwin/grp.cc')
-rw-r--r--winsup/cygwin/grp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc
index 87cc4b484..e2b0648a6 100644
--- a/winsup/cygwin/grp.cc
+++ b/winsup/cygwin/grp.cc
@@ -198,7 +198,7 @@ read_etc_group ()
debug_printf ("Failed to get local admins group name. %E");
}
- snprintf (linebuf, sizeof (linebuf), "%s::%u:\n", group_name, DEFAULT_GID);
+ snprintf (linebuf, sizeof (linebuf), "%s::%u:\n", group_name, (unsigned) DEFAULT_GID);
add_grp_line (linebuf);
group_state = emulated;
}