From 0f4ba89ffdf93ed7883b4a1f53f1c383df4fcfad Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 22 Jul 2013 21:07:06 +0200 Subject: libtest: fix data type of some *_setopt() 'long' arguments --- tests/libtest/libntlmconnect.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/libtest/libntlmconnect.c') diff --git a/tests/libtest/libntlmconnect.c b/tests/libtest/libntlmconnect.c index cd507dfa1..509b6711d 100644 --- a/tests/libtest/libntlmconnect.c +++ b/tests/libtest/libntlmconnect.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2012, Daniel Stenberg, , et al. + * Copyright (C) 2012 - 2013, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -126,9 +126,9 @@ int test(char *url) multi_init(multi); #ifdef USE_PIPELINING - multi_setopt(multi, CURLMOPT_PIPELINING, 1); - multi_setopt(multi, CURLMOPT_MAX_HOST_CONNECTIONS, 5); - multi_setopt(multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 10); + multi_setopt(multi, CURLMOPT_PIPELINING, 1L); + multi_setopt(multi, CURLMOPT_MAX_HOST_CONNECTIONS, 5L); + multi_setopt(multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, 10L); #endif for(;;) { -- cgit v1.2.3