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(
NetApiBufferAllocate(dwSize +
admin_size - sizeof(NET_DISPLAY_USER) +
guest_size - sizeof(NET_DISPLAY_USER),
(LPVOID *) SortedBuffer);
SortedBuffer);
inf = (PNET_DISPLAY_USER) *SortedBuffer;
str = (LPWSTR) ((PBYTE) inf + sizeof(NET_DISPLAY_USER) * records);
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