aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-09-22 17:27:24 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-09-22 17:27:24 +0000
commit0eb083e979eb62ce9d5446e927eb8e7682105f10 (patch)
tree9c00888ffee91f04cb4199a230a1ce6d252a570a /docs/examples
parentabe61b99261902d58ec72742ea932c580b458d26 (diff)
Argument to CURLMOPT_MAXCONNECTS must be a long
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/10-at-a-time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/10-at-a-time.c b/docs/examples/10-at-a-time.c
index 13ff196c8..14b6e93af 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);