1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

gnutls_transport_ptr is deprecated.

This commit is contained in:
witekfl 2012-05-08 13:41:26 +02:00
parent e58fc7e2cb
commit 7328bb9c9e

View File

@ -471,7 +471,7 @@ ssl_connect(struct socket *socket)
* ELinks must just cast the pointer the best it can and hope
* that the conversions match. */
gnutls_transport_set_ptr(*((ssl_t *) socket->ssl),
(gnutls_transport_ptr) (longptr_T) socket->fd);
(gnutls_transport_ptr_t) (longptr_T) socket->fd);
/* TODO: Some certificates fuss. --pasky */
#endif