Commit 4e3671f7 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

netapi32: Remove unneeded cast.

parent 9cbdcbe5
...@@ -600,7 +600,7 @@ NetQueryDisplayInformation( ...@@ -600,7 +600,7 @@ NetQueryDisplayInformation(
NetApiBufferAllocate(dwSize + NetApiBufferAllocate(dwSize +
admin_size - sizeof(NET_DISPLAY_USER) + admin_size - sizeof(NET_DISPLAY_USER) +
guest_size - sizeof(NET_DISPLAY_USER), guest_size - sizeof(NET_DISPLAY_USER),
(LPVOID *) SortedBuffer); SortedBuffer);
inf = (PNET_DISPLAY_USER) *SortedBuffer; inf = (PNET_DISPLAY_USER) *SortedBuffer;
str = (LPWSTR) ((PBYTE) inf + sizeof(NET_DISPLAY_USER) * records); str = (LPWSTR) ((PBYTE) inf + sizeof(NET_DISPLAY_USER) * records);
inf->usri1_name = str; inf->usri1_name = str;
......
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