Nikolay Sivov : advapi32: Use proper enum member to initialize SECURITY_IMPERSONATION_LEVEL variable (Clang).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 2 10:21:18 CST 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Dec  1 19:27:06 2015 +0300

advapi32: Use proper enum member to initialize SECURITY_IMPERSONATION_LEVEL variable (Clang).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/advapi32/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 09dfdec..c64981e 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -871,7 +871,7 @@ BOOL WINAPI CreateRestrictedToken(
     PHANDLE newToken)
 {
     TOKEN_TYPE type;
-    SECURITY_IMPERSONATION_LEVEL level = TokenImpersonationLevel;
+    SECURITY_IMPERSONATION_LEVEL level = SecurityAnonymous;
     DWORD size;
 
     FIXME("(%p, 0x%x, %u, %p, %u, %p, %u, %p, %p): stub\n",




More information about the wine-cvs mailing list