]> granicus.if.org Git - curl/commitdiff
add cast to silent compiler warning with 64bit systems.
authorGunter Knauf <gk@gknw.de>
Sat, 29 Aug 2009 04:34:44 +0000 (04:34 +0000)
committerGunter Knauf <gk@gknw.de>
Sat, 29 Aug 2009 04:34:44 +0000 (04:34 +0000)
lib/ssluse.c

index c627dd36e14225365970b613d64fbe9da506f7ff..aaf5df05a3c569f1b3a7121a59dc0f44b68edfa8 100644 (file)
@@ -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;