Alexandre Julliard : urlmon/tests: Avoid sizeof in traces.

Alexandre Julliard julliard at winehq.org
Wed Nov 17 10:38:08 CST 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Nov 17 15:08:08 2010 +0100

urlmon/tests: Avoid sizeof in traces.

---

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

diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index d27d4ed..580dfa3 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -9140,7 +9140,7 @@ static HRESULT WINAPI InternetProtocolInfo_CombineUrl(IInternetProtocolInfo *ifa
         wine_dbgstr_w(combine_relativeW), wine_dbgstr_w(pwzRelativeUrl));
     ok(dwCombineFlags == (URL_DONT_SIMPLIFY|URL_FILE_USE_PATHURL|URL_DONT_UNESCAPE_EXTRA_INFO),
         "Error: Expected 0, but got 0x%08x.\n", dwCombineFlags);
-    ok(cchResult == INTERNET_MAX_URL_LENGTH+1, "Error: Expected %d, but got %d.\n", INTERNET_MAX_URL_LENGTH+1, cchResult);
+    ok(cchResult == INTERNET_MAX_URL_LENGTH+1, "Error: Got %d.\n", cchResult);
 
     memcpy(pwzResult, combine_resultW, sizeof(combine_resultW));
     *pcchResult = lstrlenW(combine_resultW);




More information about the wine-cvs mailing list