diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-13 10:42:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-13 10:42:32 +0000 |
commit | b48bf7470db0a06918d86c1200c62bfe4e88b39c (patch) | |
tree | 790eac80d98a2de46ce705d8094fab77273cc24f | |
parent | 1ca9ce5ef47763e2c53f8216a0450e2b72f3bc90 (diff) |
proper typecast to prevent compiler warning
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |