Andrew Talbot : dplayx: Remove unneeded address-of operator from array name .

Alexandre Julliard julliard at winehq.org
Thu Jul 10 08:58:26 CDT 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Wed Jul  9 20:37:01 2008 +0100

dplayx: Remove unneeded address-of operator from array name.

---

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

diff --git a/dlls/dplayx/dplayx_global.c b/dlls/dplayx/dplayx_global.c
index f15c65f..f70335b 100644
--- a/dlls/dplayx/dplayx_global.c
+++ b/dlls/dplayx/dplayx_global.c
@@ -128,7 +128,7 @@ LPVOID DPLAYX_PrivHeapAlloc( DWORD flags, DWORD size )
   {
     /* Set the area used */
     lpMemArea[ uBlockUsed ].used = 1;
-    lpvArea = &(lpMemArea[ uBlockUsed ].data);
+    lpvArea = lpMemArea[ uBlockUsed ].data;
   }
   else
   {




More information about the wine-cvs mailing list