Argument to CURLMOPT_MAXCONNECTS must be a long

This commit is contained in:
Dan Fandrich 2008-09-22 17:27:24 +00:00
parent abe61b9926
commit 0eb083e979
1 changed files with 1 additions and 1 deletions

View File

@ -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);