shlwapi/tests: Avoid size_t in a trace.
This commit is contained in:
parent
3cc7574e9c
commit
82e7a6e52a
|
@ -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(res == E_POINTER, "UrlGetPart for \"%s\" gave: 0x%08x\n", szUrl, res);
|
||||||
ok(dwSize == strlen(szExpected)+1 ||
|
ok(dwSize == strlen(szExpected)+1 ||
|
||||||
(*szExpected == '?' && dwSize == strlen(szExpected)),
|
(*szExpected == '?' && dwSize == strlen(szExpected)),
|
||||||
"UrlGetPart for \"%s\" gave size: %d, expected: %d\n",
|
"UrlGetPart for \"%s\" gave size: %u\n", szUrl, dwSize);
|
||||||
szUrl, dwSize, (*szExpected == '?' ? strlen(szExpected) : strlen(szExpected) + 1));
|
|
||||||
|
|
||||||
dwSize = INTERNET_MAX_URL_LENGTH;
|
dwSize = INTERNET_MAX_URL_LENGTH;
|
||||||
res = pUrlGetPartA(szUrl, szPart, &dwSize, dwPart, dwFlags);
|
res = pUrlGetPartA(szUrl, szPart, &dwSize, dwPart, dwFlags);
|
||||||
|
|
Loading…
Reference in New Issue