Andrew Talbot : wininet: Remove unneeded address-of operators from array names.
Alexandre Julliard
julliard at winehq.org
Mon Jul 14 05:56:58 CDT 2008
Module: wine
Branch: master
Commit: 6a26bccb8efa6367142af7b63c078ed63c5206d6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6a26bccb8efa6367142af7b63c078ed63c5206d6
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Sat Jul 12 20:37:31 2008 +0100
wininet: Remove unneeded address-of operators from array names.
---
dlls/wininet/internet.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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-cvs
mailing list