Andrew Talbot : shdocvw: Remove unneeded address-of operators from array name.

Alexandre Julliard julliard at winehq.org
Tue Dec 9 06:24:20 CST 2008


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Mon Dec  8 18:53:39 2008 +0000

shdocvw: Remove unneeded address-of operators from array name.

---

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

diff --git a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c
index 27276b6..d6c0e3e 100644
--- a/dlls/shdocvw/navigate.c
+++ b/dlls/shdocvw/navigate.c
@@ -791,7 +791,7 @@ HRESULT go_home(DocHost *This)
         return navigate_url(This, wszAboutBlank, NULL, NULL, NULL, NULL);
 
     size = sizeof(wszPageName);
-    res = RegQueryValueExW(hkey, wszStartPage, NULL, &type, (LPBYTE)&wszPageName, &size);
+    res = RegQueryValueExW(hkey, wszStartPage, NULL, &type, (LPBYTE)wszPageName, &size);
     RegCloseKey(hkey);
     if (res != ERROR_SUCCESS || type != REG_SZ)
         return navigate_url(This, wszAboutBlank, NULL, NULL, NULL, NULL);




More information about the wine-cvs mailing list