commit f00e708733d2e2687e1dc049b4bb6df4f1b4238f
parent b3f0ca72cd3eaf74a49d2477d01ab34db3638a39
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 14 Feb 2009 05:10:16 +0000
maybe cast required -- #1454
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/testcurl/daemontest_long_header.c b/src/testcurl/daemontest_long_header.c
@@ -107,7 +107,7 @@ testLongUrlGet ()
&ahc_echo,
"GET",
MHD_OPTION_CONNECTION_MEMORY_LIMIT,
- VERY_LONG / 2, MHD_OPTION_END);
+ (size_t) (VERY_LONG / 2), MHD_OPTION_END);
if (d == NULL)
return 1;
c = curl_easy_init ();
@@ -125,9 +125,9 @@ testLongUrlGet ()
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
else
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
- // NOTE: use of CONNECTTIMEOUT without also
- // setting NOSIGNAL results in really weird
- // crashes on my system!
+ /* NOTE: use of CONNECTTIMEOUT without also
+ setting NOSIGNAL results in really weird
+ crashes on my system! */
curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
if (CURLE_OK == curl_easy_perform (c))
{
@@ -173,7 +173,7 @@ testLongHeaderGet ()
&ahc_echo,
"GET",
MHD_OPTION_CONNECTION_MEMORY_LIMIT,
- VERY_LONG / 2, MHD_OPTION_END);
+ (size_t) (VERY_LONG / 2), MHD_OPTION_END);
if (d == NULL)
return 16;
c = curl_easy_init ();
@@ -195,9 +195,9 @@ testLongHeaderGet ()
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
else
curl_easy_setopt (c, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
- // NOTE: use of CONNECTTIMEOUT without also
- // setting NOSIGNAL results in really weird
- // crashes on my system!
+ /* NOTE: use of CONNECTTIMEOUT without also
+ setting NOSIGNAL results in really weird
+ crashes on my system! */
curl_easy_setopt (c, CURLOPT_NOSIGNAL, 1);
if (CURLE_OK == curl_easy_perform (c))
{