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>2008-09-11 09:43:11 +0400
committerChristopher Faylor <me@cgf.cx>2008-09-11 09:43:11 +0400
commitcb7e1879ee3a55c91b8c85e6d2f879f392a2c995 (patch)
treea6372a249cab116d593cd12cd47788d8a9f057cf /winsup/cygwin/sec_helper.cc
parent81ba2b77dee701a135e6f075f1798a76a41bbad7 (diff)
* localtime.cc (increment_overflow): Mark as non-inline to prevent compiler
from complaining about the very thing we're trying to test. * ntea.cc (read_ea): Reorganize to avoid a new compiler warning/error. * sched.cc (sched_rr_get_interval): Ditto. * select.cc (peek_serial): Ditto. * libc/rexec.cc (ruserpass): Ditto. * posix_ipc.cc (ipc_names): Make static to avoid a compiler warning (and it's the right thing to do anyway).
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r--winsup/cygwin/sec_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc
index 6ce8e617c..753f8319d 100644
--- a/winsup/cygwin/sec_helper.cc
+++ b/winsup/cygwin/sec_helper.cc
@@ -140,7 +140,7 @@ PSID
cygsid::get_sid (DWORD s, DWORD cnt, DWORD *r, bool well_known)
{
DWORD i;
- SID_IDENTIFIER_AUTHORITY sid_auth = {0,0,0,0,0,0};
+ SID_IDENTIFIER_AUTHORITY sid_auth = {{0,0,0,0,0,0}};
if (s > 255 || cnt < 1 || cnt > 8)
{