Jan Zerebecki : urlmon: Fix type of an empty string to avoid warning.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 25 06:12:17 CST 2007


Module: wine
Branch: master
Commit: 85410f2ac16f5f81074deb93469e51262b1a807e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=85410f2ac16f5f81074deb93469e51262b1a807e

Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date:   Wed Jan 24 19:38:32 2007 +0100

urlmon: Fix type of an empty string to avoid warning.

---

 dlls/urlmon/tests/protocol.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 81c3757..5a40355 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -564,7 +564,7 @@ static HRESULT WINAPI Protocol_Start(IIn
     HRESULT hres;
 
     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);
 
@@ -592,7 +592,7 @@ static HRESULT WINAPI Protocol_Start(IIn
 
     SET_EXPECT(ReportProgress_CACHEFILENAMEAVAILABLE);
     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);
     CHECK_CALLED(ReportProgress_CACHEFILENAMEAVAILABLE);
 




More information about the wine-cvs mailing list