Commit 95100a6e authored by Mikhail Maroukhine's avatar Mikhail Maroukhine Committed by Alexandre Julliard

shlwapi: Fix compiler warnings with flag -Wcast-qual.

parent cc7eaa32
...@@ -278,7 +278,8 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized, ...@@ -278,7 +278,8 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized,
{ {
HRESULT hr = S_OK; HRESULT hr = S_OK;
DWORD EscapeFlags; DWORD EscapeFlags;
LPWSTR lpszUrlCpy, wk1, wk2, mp, mp2, root; LPCWSTR wk1, root;
LPWSTR lpszUrlCpy, wk2, mp, mp2;
INT state; INT state;
DWORD nByteLen, nLen, nWkLen; DWORD nByteLen, nLen, nWkLen;
WCHAR slash = '/'; WCHAR slash = '/';
...@@ -322,7 +323,7 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized, ...@@ -322,7 +323,7 @@ HRESULT WINAPI UrlCanonicalizeW(LPCWSTR pszUrl, LPWSTR pszCanonicalized,
* 6 have location (found /) save root location * 6 have location (found /) save root location
*/ */
wk1 = (LPWSTR)pszUrl; wk1 = pszUrl;
wk2 = lpszUrlCpy; wk2 = lpszUrlCpy;
state = 0; state = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment