mirror of
https://github.com/curl/curl.git
synced 2026-07-26 11:27:16 +03:00
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 tob63cce7fee#18339 Follow-up to88fc6c491f#18263 Closes #18355
This commit is contained in:
parent
cbd5d2507a
commit
f6c2907172
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue