advapi32: Use proper enum member to initialize SECURITY_IMPERSONATION_LEVEL variable...
authorNikolay Sivov <nsivov@codeweavers.com>
Tue, 1 Dec 2015 16:27:06 +0000 (19:27 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 2 Dec 2015 03:58:25 +0000 (12:58 +0900)
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/advapi32/security.c

index 09dfdec1f43affba48bb17d6571c8c808a571bb5..c64981eec564a2c4c648f2a3a40d9dd17ca32d68 100644 (file)
@@ -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",