From 68f7d5b8d313f96c1c18356596822c50900f27b8 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sat, 29 Aug 2009 04:34:44 +0000 Subject: add cast to silent compiler warning with 64bit systems. --- lib/ssluse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ssluse.c') diff --git a/lib/ssluse.c b/lib/ssluse.c index c627dd36e..aaf5df05a 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; -- cgit v1.2.3