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

use intptr_t (refs #574)

parent 7c0169e8
...@@ -353,7 +353,7 @@ gnutls_BeginHandshake( tls_session_t *p_session, int fd, ...@@ -353,7 +353,7 @@ gnutls_BeginHandshake( tls_session_t *p_session, int fd,
p_sys = (tls_session_sys_t *)(p_session->p_sys); p_sys = (tls_session_sys_t *)(p_session->p_sys);
gnutls_transport_set_ptr (p_sys->session, (gnutls_transport_ptr)(unsigned long)fd); gnutls_transport_set_ptr (p_sys->session, (gnutls_transport_ptr)(intptr_t)fd);
if( psz_hostname != NULL ) 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