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
|
* Enable or disable TCP_NODELAY, which will disable/enable the Nagle
|
||||||
* algorithm
|
* algorithm
|
||||||
*/
|
*/
|
||||||
data->set.tcp_nodelay = va_arg(param, long);
|
data->set.tcp_nodelay = (bool)va_arg(param, long);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user