[misc] fixes for Clang/C2 compilation support

This commit is contained in:
Pete Batard 2016-06-04 17:10:33 +01:00
parent 2e530d5ce7
commit 39d6b90447
13 changed files with 34 additions and 26 deletions

View file

@ -2781,7 +2781,7 @@ static BOOL IsCurrentProcessElevated(void)
DWORD size;
HANDLE token = INVALID_HANDLE_VALUE;
TOKEN_ELEVATION te;
SID_IDENTIFIER_AUTHORITY auth = SECURITY_NT_AUTHORITY;
SID_IDENTIFIER_AUTHORITY auth = { SECURITY_NT_AUTHORITY };
PSID psid;
if (ReadRegistryKey32(REGKEY_HKLM, "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA") == 1) {