mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
proper typecast to prevent compiler warning
This commit is contained in:
parent
1ca9ce5ef4
commit
b48bf7470d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user