Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-13 05:35:15 +0400
committerChristopher Faylor <me@cgf.cx>2001-10-13 05:35:15 +0400
commitbc6ed5498655ea0e2cc4f0748ad8311e803d5b71 (patch)
treed5aa1cd43a0d4af104f86cdfeeef6d21d8c291ae /winsup/cygwin/passwd.cc
parentcb1826572ce94eabfa1e4b5e8737fad188a55048 (diff)
* autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler.
Diffstat (limited to 'winsup/cygwin/passwd.cc')
-rw-r--r--winsup/cygwin/passwd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/passwd.cc b/winsup/cygwin/passwd.cc
index 2f52473c7..833964a19 100644
--- a/winsup/cygwin/passwd.cc
+++ b/winsup/cygwin/passwd.cc
@@ -170,7 +170,7 @@ read_etc_passwd ()
{
debug_printf ("Emulating /etc/passwd");
snprintf (linebuf, sizeof (linebuf), "%s::%u:%u::%s:/bin/sh", cygheap->user.name (),
- DEFAULT_UID, DEFAULT_GID, getenv ("HOME") ?: "/");
+ (unsigned) DEFAULT_UID, (unsigned) DEFAULT_GID, getenv ("HOME") ?: "/");
add_pwd_line (linebuf);
passwd_state = emulated;
}