Alexandre Julliard : shlwapi/tests: Avoid size_t in a trace.

Alexandre Julliard julliard at winehq.org
Fri Mar 19 11:16:42 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Mar 19 17:04:02 2010 +0100

shlwapi/tests: Avoid size_t in a trace.

---

 dlls/shlwapi/tests/url.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/shlwapi/tests/url.c b/dlls/shlwapi/tests/url.c
index 944d679..f1bd648 100644
--- a/dlls/shlwapi/tests/url.c
+++ b/dlls/shlwapi/tests/url.c
@@ -547,8 +547,7 @@ static void test_url_part(const char* szUrl, DWORD dwPart, DWORD dwFlags, const
   ok(res == E_POINTER, "UrlGetPart for \"%s\" gave: 0x%08x\n", szUrl, res);
   ok(dwSize == strlen(szExpected)+1 ||
           (*szExpected == '?' && dwSize == strlen(szExpected)),
-          "UrlGetPart for \"%s\" gave size: %d, expected: %d\n",
-          szUrl, dwSize, (*szExpected == '?' ? strlen(szExpected) : strlen(szExpected) + 1));
+          "UrlGetPart for \"%s\" gave size: %u\n", szUrl, dwSize);
 
   dwSize = INTERNET_MAX_URL_LENGTH;
   res = pUrlGetPartA(szUrl, szPart, &dwSize, dwPart, dwFlags);




More information about the wine-cvs mailing list