shdocvw: Remove unneeded address-of operators from array name.
authorAndrew Talbot <andrew.talbot@talbotville.com>
Mon, 8 Dec 2008 18:53:39 +0000 (18:53 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 8 Dec 2008 21:03:03 +0000 (22:03 +0100)
dlls/shdocvw/navigate.c

index 27276b65b3a5ceef1e3f00a6e03645b87399074b..d6c0e3e5cd976abfd47c36e2466b1c1679640f36 100644 (file)
@@ -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);