wininet: Remove unneeded address-of operators from array names
Andrew Talbot
andrew.talbot at talbotville.com
Sat Jul 12 14:37:31 CDT 2008
Changelog:
wininet: Remove unneeded address-of operators from array names.
diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c
index ce5da56..b054765 100644
--- a/dlls/wininet/internet.c
+++ b/dlls/wininet/internet.c
@@ -2715,7 +2715,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe
URL_COMPONENTSW components;
ZeroMemory(&components,sizeof(URL_COMPONENTSW));
- components.lpszHostName = (LPWSTR)&hostW;
+ components.lpszHostName = (LPWSTR)hostW;
components.dwHostNameLength = 1024;
if (!InternetCrackUrlW(lpszUrl,0,0,&components))
@@ -3427,7 +3427,7 @@ static LPCWSTR INTERNET_GetSchemeString(INTERNET_SCHEME scheme)
index = scheme - INTERNET_SCHEME_FIRST;
if (index >= sizeof(url_schemes)/sizeof(url_schemes[0]))
return NULL;
- return (LPCWSTR)&url_schemes[index];
+ return (LPCWSTR)url_schemes[index];
}
/* we can calculate using ansi strings because we're just
More information about the wine-patches
mailing list