proper typecast to prevent compiler warning

This commit is contained in:
Daniel Stenberg 2004-04-13 10:42:32 +00:00
parent 1ca9ce5ef4
commit b48bf7470d
1 changed files with 1 additions and 1 deletions

View File

@ -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: