advapi32: Remove superfluous cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2e408a6be5
commit
d6c4efec1a
|
@ -179,12 +179,12 @@ EnumServicesStatusW( SC_HANDLE manager, DWORD type, DWORD state, ENUM_SERVICE_ST
|
|||
for (i = 0; i < *ret_count; i++)
|
||||
{
|
||||
lstrcpyW( p, status_ex[i].lpServiceName );
|
||||
status[i].lpServiceName = (WCHAR *)p;
|
||||
status[i].lpServiceName = p;
|
||||
p += lstrlenW( p ) + 1;
|
||||
if (status_ex[i].lpDisplayName)
|
||||
{
|
||||
lstrcpyW( p, status_ex[i].lpDisplayName );
|
||||
status[i].lpDisplayName = (WCHAR *)p;
|
||||
status[i].lpDisplayName = p;
|
||||
p += lstrlenW( p ) + 1;
|
||||
}
|
||||
else status[i].lpDisplayName = NULL;
|
||||
|
|
Loading…
Reference in New Issue