Commit 278bd29b authored by Thomas Weidenmueller's avatar Thomas Weidenmueller Committed by Alexandre Julliard

setupapi: Fix comparing the group SIDs in IsUserAdmin.

parent 412cb77d
......@@ -248,7 +248,7 @@ BOOL WINAPI IsUserAdmin(VOID)
for (i = 0; i < lpGroups->GroupCount; i++)
{
if (EqualSid(lpSid, &lpGroups->Groups[i].Sid))
if (EqualSid(lpSid, lpGroups->Groups[i].Sid))
{
bResult = TRUE;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment