From: Gunter Knauf Date: Sat, 29 Aug 2009 04:34:44 +0000 (+0000) Subject: add cast to silent compiler warning with 64bit systems. X-Git-Tag: curl-7_19_7~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68f7d5b8d313f96c1c18356596822c50900f27b8;p=thirdparty%2Fcurl.git add cast to silent compiler warning with 64bit systems. --- diff --git a/lib/ssluse.c b/lib/ssluse.c index c627dd36e1..aaf5df05a3 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1596,7 +1596,7 @@ ossl_connect_step1(struct connectdata *conn, } /* pass the raw socket into the SSL layers */ - if(!SSL_set_fd(connssl->handle, sockfd)) { + if(!SSL_set_fd(connssl->handle, (int)sockfd)) { failf(data, "SSL: SSL_set_fd failed: %s", ERR_error_string(ERR_get_error(),NULL)); return CURLE_SSL_CONNECT_ERROR;