netapi32: Remove unneeded cast

Andrew Talbot andrew.talbot at talbotville.com
Sat Jan 12 10:05:42 CST 2008


Changelog:
    netapi32: Remove unneeded cast.

diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c
index 028c1ca..f793239 100644
--- a/dlls/netapi32/access.c
+++ b/dlls/netapi32/access.c
@@ -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;



More information about the wine-patches mailing list