From: Daniel Stenberg Date: Tue, 13 Apr 2004 10:42:32 +0000 (+0000) Subject: proper typecast to prevent compiler warning X-Git-Tag: curl-7_11_2~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b48bf7470db0a06918d86c1200c62bfe4e88b39c;p=thirdparty%2Fcurl.git proper typecast to prevent compiler warning --- diff --git a/lib/url.c b/lib/url.c index d3ee364692..de31fd1071 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1316,7 +1316,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) * Enable or disable TCP_NODELAY, which will disable/enable the Nagle * algorithm */ - data->set.tcp_nodelay = va_arg(param, long); + data->set.tcp_nodelay = (bool)va_arg(param, long); break; default: