Argument to CURLMOPT_MAXCONNECTS must be a long
This commit is contained in:
parent
abe61b9926
commit
0eb083e979
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user