From d7c54819ead47f69ecf3bd98b9468d340c55b707 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 17 Jul 2025 19:17:59 +0200 Subject: [PATCH] lib2032: try fix ``` D:/a/curl/curl/tests/libtest/lib2032.c:145:29: error: sizeof on pointer operation will return size of 'CURL **' (aka 'void **') instead of 'CURL *[3]' (aka 'void *[3]') [-Werror,-Wsizeof-array-decay] 145 | ntlm_easy + num_handles); | ~~~~~~~~~ ^ ``` https://github.com/curl/curl/actions/runs/16351302841/job/46198524880?pr=17955#step:12:86 --- tests/libtest/lib2032.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest/lib2032.c b/tests/libtest/lib2032.c index a998c72230..f2acbc41a3 100644 --- a/tests/libtest/lib2032.c +++ b/tests/libtest/lib2032.c @@ -142,7 +142,7 @@ static CURLcode test_lib2032(char *URL) /* libntlmconnect */ "testuser:testpass"); easy_setopt(ntlm_easy[num_handles], CURLOPT_WRITEFUNCTION, callback); easy_setopt(ntlm_easy[num_handles], CURLOPT_WRITEDATA, - ntlm_easy + num_handles); + ntlm_easy[num_handles]); easy_setopt(ntlm_easy[num_handles], CURLOPT_HEADER, 1L); multi_add_handle(multi, ntlm_easy[num_handles]);