urlmon: Fix type of an empty string to avoid warning.
This commit is contained in:
parent
cfaf5059b2
commit
85410f2ac1
|
@ -564,7 +564,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
|
||||||
HRESULT hres;
|
HRESULT hres;
|
||||||
|
|
||||||
static const WCHAR wszTextHtml[] = {'t','e','x','t','/','h','t','m','l',0};
|
static const WCHAR wszTextHtml[] = {'t','e','x','t','/','h','t','m','l',0};
|
||||||
static const WCHAR empty_str = {0};
|
static const WCHAR empty_str[] = {0};
|
||||||
|
|
||||||
CHECK_EXPECT(Start);
|
CHECK_EXPECT(Start);
|
||||||
|
|
||||||
|
@ -592,7 +592,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
|
||||||
|
|
||||||
SET_EXPECT(ReportProgress_CACHEFILENAMEAVAILABLE);
|
SET_EXPECT(ReportProgress_CACHEFILENAMEAVAILABLE);
|
||||||
hres = IInternetProtocolSink_ReportProgress(pOIProtSink,
|
hres = IInternetProtocolSink_ReportProgress(pOIProtSink,
|
||||||
BINDSTATUS_CACHEFILENAMEAVAILABLE, expect_wsz = &empty_str);
|
BINDSTATUS_CACHEFILENAMEAVAILABLE, expect_wsz = empty_str);
|
||||||
ok(hres == S_OK, "ReportProgress(BINDSTATUS_CACHEFILENAMEAVAILABLE) failed: %08x\n", hres);
|
ok(hres == S_OK, "ReportProgress(BINDSTATUS_CACHEFILENAMEAVAILABLE) failed: %08x\n", hres);
|
||||||
CHECK_CALLED(ReportProgress_CACHEFILENAMEAVAILABLE);
|
CHECK_CALLED(ReportProgress_CACHEFILENAMEAVAILABLE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue