summaryrefslogtreecommitdiff
path: root/desktop/win32/source/setup/setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/win32/source/setup/setup.cpp')
-rw-r--r--desktop/win32/source/setup/setup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/win32/source/setup/setup.cpp b/desktop/win32/source/setup/setup.cpp
index 84065cce6959..d373233e2e68 100644
--- a/desktop/win32/source/setup/setup.cpp
+++ b/desktop/win32/source/setup/setup.cpp
@@ -1675,7 +1675,7 @@ boolean SetupAppX::GetCmdLineParameters( LPTSTR *pCmdLine )
boolean SetupAppX::IsAdmin()
{
PSID aPsidAdmin;
- SID_IDENTIFIER_AUTHORITY aAuthority = SECURITY_NT_AUTHORITY;
+ SID_IDENTIFIER_AUTHORITY aAuthority = { SECURITY_NT_AUTHORITY };
if ( !AllocateAndInitializeSid( &aAuthority, 2, SECURITY_BUILTIN_DOMAIN_RID,
DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0,