[Winpt-commits] r376 - trunk/Src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Dec 9 13:25:38 CET 2011


Author: twoaday
Date: 2011-12-09 13:25:36 +0100 (Fri, 09 Dec 2011)
New Revision: 376

Modified:
   trunk/Src/wptW32API.cpp
Log:


Modified: trunk/Src/wptW32API.cpp
===================================================================
--- trunk/Src/wptW32API.cpp	2011-12-09 12:08:39 UTC (rev 375)
+++ trunk/Src/wptW32API.cpp	2011-12-09 12:25:36 UTC (rev 376)
@@ -646,7 +646,7 @@
 BOOL 
 user_is_admin (void)
 {
-    SID_IDENTIFIER_AUTHORITY SystemSidAuthority = SECURITY_NT_AUTHORITY;
+    SID_IDENTIFIER_AUTHORITY SystemSidAuthority = {SECURITY_NT_AUTHORITY};
     HANDLE hd;
     TOKEN_GROUPS  *ptg = NULL;
     DWORD ngtoken;



More information about the Winpt-commits mailing list