Commit ff3de959 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix warning on 64 bits systems

parent 09189623
......@@ -353,7 +353,7 @@ gnutls_BeginHandshake( tls_session_t *p_session, int fd,
p_sys = (tls_session_sys_t *)(p_session->p_sys);
gnutls_transport_set_ptr (p_sys->session, (gnutls_transport_ptr)fd);
gnutls_transport_set_ptr (p_sys->session, (gnutls_transport_ptr)(unsigned long)fd);
if( psz_hostname != NULL )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment