From: Dan Fandrich Date: Mon, 22 Sep 2008 17:27:24 +0000 (+0000) Subject: Argument to CURLMOPT_MAXCONNECTS must be a long X-Git-Tag: curl-7_19_1~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0eb083e979eb62ce9d5446e927eb8e7682105f10;p=thirdparty%2Fcurl.git Argument to CURLMOPT_MAXCONNECTS must be a long --- diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c index 13ff196c85..14b6e93afe 100644 --- a/docs/examples/10-at-a-time.c +++ b/docs/examples/10-at-a-time.c @@ -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);