Skip to content
Snippets Groups Projects
Commit 0eb083e9 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Argument to CURLMOPT_MAXCONNECTS must be a long

parent abe61b99
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ int main(void)
/* we can optionally limit the total amount of connections this multi handle
uses */
curl_multi_setopt(cm, CURLMOPT_MAXCONNECTS, MAX);
curl_multi_setopt(cm, CURLMOPT_MAXCONNECTS, (long)MAX);
for (C = 0; C < MAX; ++C) {
init(cm, C);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment