* 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).
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user