Commit b48bf747 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

proper typecast to prevent compiler warning

parent 1ca9ce5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: