From: Nikos Mavrogiannopoulos Date: Mon, 11 Feb 2013 08:29:38 +0000 (+0100) Subject: avoid ptrdiff_t X-Git-Tag: gnutls_3_1_9~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c89cfe06b2a7c6a741865683f7fdfd80b1aebc0;p=thirdparty%2Fgnutls.git avoid ptrdiff_t --- diff --git a/doc/examples/ex-serv-anon.c b/doc/examples/ex-serv-anon.c index 48f22fabfa..a46fe9c80b 100644 --- a/doc/examples/ex-serv-anon.c +++ b/doc/examples/ex-serv-anon.c @@ -99,7 +99,7 @@ main (void) inet_ntop (AF_INET, &sa_cli.sin_addr, topbuf, sizeof (topbuf)), ntohs (sa_cli.sin_port)); - gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) ((ptrdiff_t) sd)); + gnutls_transport_set_ptr (session, (gnutls_transport_ptr_t) sd); do {