aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-13 10:42:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-13 10:42:32 +0000
commitb48bf7470db0a06918d86c1200c62bfe4e88b39c (patch)
tree790eac80d98a2de46ce705d8094fab77273cc24f
parent1ca9ce5ef47763e2c53f8216a0450e2b72f3bc90 (diff)
proper typecast to prevent compiler warning
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
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: