Module: wine Branch: master Commit: cc88d9175b9df619053facb017b19306175402dc URL: https://gitlab.winehq.org/wine/wine/-/commit/cc88d9175b9df619053facb017b1930...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Apr 13 15:50:24 2024 +0200
winhttp/tests: Fix some compiler warnings with non-PE build.
---
dlls/winhttp/tests/winhttp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c index ee01fd5ec72..5810a516c68 100644 --- a/dlls/winhttp/tests/winhttp.c +++ b/dlls/winhttp/tests/winhttp.c @@ -5944,7 +5944,7 @@ static void test_connection_cache(int port)
req = WinHttpOpenRequest(con, L"GET", L"/cached", NULL, NULL, NULL, 0); ok(req != NULL, "failed to open a request %lu\n", GetLastError()); - ret = WinHttpSendRequest(req, L"Connection: close", ~0ul, NULL, 0, 0, 0); + ret = WinHttpSendRequest(req, L"Connection: close", ~0u, NULL, 0, 0, 0); ok(ret, "failed to send request %lu\n", GetLastError()); ret = WinHttpReceiveResponse(req, NULL); ok(ret, "failed to receive response %lu\n", GetLastError()); @@ -5959,7 +5959,7 @@ static void test_connection_cache(int port)
req = WinHttpOpenRequest(con, L"GET", L"/notcached", NULL, NULL, NULL, 0); ok(req != NULL, "failed to open a request %lu\n", GetLastError()); - ret = WinHttpSendRequest(req, L"Connection: close", ~0ul, NULL, 0, 0, 0); + ret = WinHttpSendRequest(req, L"Connection: close", ~0u, NULL, 0, 0, 0); ok(ret, "failed to send request %lu\n", GetLastError()); ret = WinHttpReceiveResponse(req, NULL); ok(ret, "failed to receive response %lu\n", GetLastError());