urlmon/tests: Constify some character strings
Frédéric Delanoy
frederic.delanoy at gmail.com
Mon Dec 30 20:00:43 CST 2013
---
dlls/urlmon/tests/protocol.c | 2 +-
dlls/urlmon/tests/url.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 7ba375b..25f78d0 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -1819,7 +1819,7 @@ static HRESULT WINAPI ProtocolEmul_Continue(IInternetProtocolEx *iface,
case 1: {
IServiceProvider *service_provider;
IHttpNegotiate *http_negotiate;
- static WCHAR header[] = {'?',0};
+ static const WCHAR header[] = {'?',0};
hres = IInternetProtocolSink_QueryInterface(binding_sink, &IID_IServiceProvider,
(void**)&service_provider);
diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index 8fae051..83c5c8d 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -967,7 +967,7 @@ static HRESULT WINAPI Protocol_Continue(IInternetProtocol *iface,
case 1: {
IServiceProvider *service_provider;
IHttpNegotiate *http_negotiate;
- static WCHAR header[] = {'?',0};
+ static const WCHAR header[] = {'?',0};
hres = IInternetProtocolSink_QueryInterface(protocol_sink, &IID_IServiceProvider,
(void**)&service_provider);
--
1.8.5.2
More information about the wine-patches
mailing list