Avoid -Wwrite-strings warning
This commit is contained in:
parent
6787b0548b
commit
6f968105b5
1 changed files with 1 additions and 1 deletions
|
|
@ -1780,7 +1780,7 @@ HRESULT STDMETHODCALLTYPE VirtualProtocol::ParseUrl(
|
|||
case wxPARSE_SECURITY_URL:
|
||||
case wxPARSE_SECURITY_DOMAIN:
|
||||
{
|
||||
LPWSTR Result = L"http://localhost";
|
||||
const wchar_t Result[] = L"http://localhost";
|
||||
size_t Len = wcslen(Result);
|
||||
if(cchResult <= Len)
|
||||
return S_FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue