mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
netapi32: Remove unneeded cast.
This commit is contained in:
parent
9cbdcbe5f2
commit
4e3671f70b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user