diff options
Diffstat (limited to 'doc/tex/ex-serv1.tex')
-rw-r--r-- | doc/tex/ex-serv1.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tex/ex-serv1.tex b/doc/tex/ex-serv1.tex index a423a89570..d368720caa 100644 --- a/doc/tex/ex-serv1.tex +++ b/doc/tex/ex-serv1.tex @@ -128,7 +128,7 @@ int main() inet_ntop(AF_INET, &sa_cli.sin_addr, topbuf, sizeof(topbuf)), ntohs(sa_cli.sin_port)); - gnutls_transport_set_ptr( session, sd); + gnutls_transport_set_ptr( session, (gnutls_transport_ptr)sd); ret = gnutls_handshake( session); if (ret < 0) { close(sd); |