Andrew Talbot : advapi32: Explicitly initialize nested array element.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Mar 13 07:55:54 CDT 2007


Module: wine
Branch: master
Commit: dea58c017d3c0bfdf2be3943ac36eb0aeaac9683
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dea58c017d3c0bfdf2be3943ac36eb0aeaac9683

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Mon Mar 12 12:06:31 2007 +0000

advapi32: Explicitly initialize nested array element.

---

 dlls/advapi32/security.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 5d66d0a..a0b4b3c 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -86,7 +86,7 @@ static const WELLKNOWNSID WellKnownSids[] =
     { {'C','G'}, WinCreatorGroupSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_RID } } },
     { {0,0}, WinCreatorOwnerServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_SERVER_RID } } },
     { {0,0}, WinCreatorGroupServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_SERVER_RID } } },
-    { {0,0}, WinNtAuthoritySid, { SID_REVISION, 0, { SECURITY_NT_AUTHORITY }, { } } },
+    { {0,0}, WinNtAuthoritySid, { SID_REVISION, 0, { SECURITY_NT_AUTHORITY }, { SECURITY_NULL_RID } } },
     { {0,0}, WinDialupSid, { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_DIALUP_RID } } },
     { {'N','U'}, WinNetworkSid, { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_NETWORK_RID } } },
     { {0,0}, WinBatchSid, { SID_REVISION, 1, { SECURITY_NT_AUTHORITY }, { SECURITY_BATCH_RID } } },




More information about the wine-cvs mailing list