netapi32: Remove unneeded cast.

This commit is contained in:
Andrew Talbot 2008-01-12 16:05:42 +00:00 committed by Alexandre Julliard
parent 9cbdcbe5f2
commit 4e3671f70b
1 changed files with 1 additions and 1 deletions

View File

@ -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;