From b48bf7470db0a06918d86c1200c62bfe4e88b39c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 Apr 2004 10:42:32 +0000 Subject: proper typecast to prevent compiler warning --- lib/url.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index d3ee36469..de31fd107 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: -- cgit v1.2.3