From 6c89cfe06b2a7c6a741865683f7fdfd80b1aebc0 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 11 Feb 2013 09:29:38 +0100 Subject: avoid ptrdiff_t --- doc/examples/ex-serv-anon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 { -- cgit v1.2.1