Andrew Talbot : netapi32: Remove unneeded cast.

Alexandre Julliard julliard at winehq.org
Mon Jan 14 09:33:12 CST 2008


Module: wine
Branch: master
Commit: 4e3671f70b100ca4ebb58b3cac5c7baaf3facfcd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4e3671f70b100ca4ebb58b3cac5c7baaf3facfcd

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Jan 12 16:05:42 2008 +0000

netapi32: Remove unneeded cast.

---

 dlls/netapi32/access.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list