setupapi: Remove unneeded address-of operator from array name

Andrew Talbot andrew.talbot at talbotville.com
Fri Jul 11 15:58:21 CDT 2008


Changelog:
    setupapi: Remove unneeded address-of operator from array name.

diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c
index 3212d5a..7605bc1 100644
--- a/dlls/setupapi/queue.c
+++ b/dlls/setupapi/queue.c
@@ -183,7 +183,7 @@ UINT CALLBACK QUEUE_callback_WtoA( void *context, UINT notification,
     switch(notification)
     {
     case SPFILENOTIFY_COPYERROR:
-        param2 = (UINT_PTR)&buffer;
+        param2 = (UINT_PTR)buffer;
         /* fall through */
     case SPFILENOTIFY_STARTDELETE:
     case SPFILENOTIFY_ENDDELETE:



More information about the wine-patches mailing list