[NETAPI32] Remove unneeded casts. Inspired by CORE-7324

svn path=/trunk/; revision=67247
This commit is contained in:
Amine Khaldi 2015-04-18 11:07:22 +00:00
parent f3a11426c9
commit 5e47f40aee

View file

@ -1610,7 +1610,7 @@ NetLocalGroupGetMembers(
TRACE("Name: %S\n", EnumContext->Names[i].Name.Buffer);
MembersInfo1->lgrmi1_name = (LPWSTR)Ptr;
MembersInfo1->lgrmi1_name = Ptr;
memcpy(MembersInfo1->lgrmi1_name,
EnumContext->Names[i].Name.Buffer,
@ -1631,7 +1631,7 @@ NetLocalGroupGetMembers(
MembersInfo2->lgrmi2_sidusage = EnumContext->Names[i].Use;
MembersInfo2->lgrmi2_domainandname = (LPWSTR)Ptr;
MembersInfo2->lgrmi2_domainandname = Ptr;
if (EnumContext->Names[i].DomainIndex >= 0)
{
@ -1654,7 +1654,7 @@ NetLocalGroupGetMembers(
break;
case 3:
MembersInfo3->lgrmi3_domainandname = (PSID)Ptr;
MembersInfo3->lgrmi3_domainandname = Ptr;
if (EnumContext->Names[i].DomainIndex >= 0)
{