Author: akhaldi
Date: Sat Apr 18 11:07:22 2015
New Revision: 67247
URL:
http://svn.reactos.org/svn/reactos?rev=67247&view=rev
Log:
[NETAPI32] Remove unneeded casts. Inspired by CORE-7324
Modified:
trunk/reactos/dll/win32/netapi32/local_group.c
Modified: trunk/reactos/dll/win32/netapi32/local_group.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/local_g…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/local_group.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/local_group.c [iso-8859-1] Sat Apr 18 11:07:22 2015
@@ -1610,7 +1610,7 @@
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 @@
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 @@
break;
case 3:
- MembersInfo3->lgrmi3_domainandname = (PSID)Ptr;
+ MembersInfo3->lgrmi3_domainandname = Ptr;
if (EnumContext->Names[i].DomainIndex >= 0)
{