]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winsecur.c
A bunch of further warning fixes in the Windows code.
[PuTTY.git] / windows / winsecur.c
index b7060b3b0a5d2a681360aaff1cb0b5b2c2341031..cba7d60a196993a742851deb9a49373644c93b91 100644 (file)
@@ -94,8 +94,8 @@ PSID get_user_sid(void)
 
 int getsids(char **error)
 {
-    SID_IDENTIFIER_AUTHORITY world_auth = SECURITY_WORLD_SID_AUTHORITY;
-    SID_IDENTIFIER_AUTHORITY nt_auth = SECURITY_NT_AUTHORITY;
+    SID_IDENTIFIER_AUTHORITY world_auth = { SECURITY_WORLD_SID_AUTHORITY };
+    SID_IDENTIFIER_AUTHORITY nt_auth = { SECURITY_NT_AUTHORITY };
     int ret = FALSE;
 
     *error = NULL;