Andrew Talbot : widl: Remove unneeded address-of operators from array names .

Alexandre Julliard julliard at winehq.org
Mon Dec 8 09:45:48 CST 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Dec  6 23:49:59 2008 +0000

widl: Remove unneeded address-of operators from array names.

---

 tools/widl/proxy.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index a994fd7..1d50fb4 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -831,8 +831,8 @@ void write_proxies(const statement_list_t *stmts)
 
   fprintf(proxy, "const ExtendedProxyFileInfo %s_ProxyFileInfo DECLSPEC_HIDDEN =\n", file_id);
   fprintf(proxy, "{\n");
-  fprintf(proxy, "    (const PCInterfaceProxyVtblList*)&_%s_ProxyVtblList,\n", file_id);
-  fprintf(proxy, "    (const PCInterfaceStubVtblList*)&_%s_StubVtblList,\n", file_id);
+  fprintf(proxy, "    (const PCInterfaceProxyVtblList*)_%s_ProxyVtblList,\n", file_id);
+  fprintf(proxy, "    (const PCInterfaceStubVtblList*)_%s_StubVtblList,\n", file_id);
   fprintf(proxy, "    _%s_InterfaceNamesList,\n", file_id);
   if (have_baseiid) fprintf(proxy, "    _%s_BaseIIDList,\n", file_id);
   else fprintf(proxy, "    0,\n");




More information about the wine-cvs mailing list