test1557: pass long type to multi_setopt()

A wrong type here has seen to manifest in CI failures with gcc-12 macOS.

Ref: https://github.com/curl/curl/pull/18348#issuecomment-3213881790
Ref: https://github.com/curl/curl/actions/runs/17153761944/job/48665734013?pr=18349

Follow-up to b63cce7fee #18339
Follow-up to 88fc6c491f #18263

Closes #18355
This commit is contained in:
Viktor Szakats 2025-08-22 13:45:06 +02:00
parent cbd5d2507a
commit f6c2907172
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -36,7 +36,7 @@ static CURLcode test_lib1557(const char *URL)
global_init(CURL_GLOBAL_ALL);
multi_init(curlm);
multi_setopt(curlm, CURLMOPT_MAX_HOST_CONNECTIONS, 1);
multi_setopt(curlm, CURLMOPT_MAX_HOST_CONNECTIONS, 1L);
easy_init(curl1);
easy_setopt(curl1, CURLOPT_URL, URL);