diff options
Diffstat (limited to 'tests/mini-x509.c')
-rw-r--r-- | tests/mini-x509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mini-x509.c b/tests/mini-x509.c index 8c8e51b2f6..d05dbf821e 100644 --- a/tests/mini-x509.c +++ b/tests/mini-x509.c @@ -109,7 +109,7 @@ void doit(void) gnutls_priority_set_direct (server, "NORMAL:-CIPHER-ALL:+ARCFOUR-128", NULL); gnutls_transport_set_push_function (server, server_push); gnutls_transport_set_pull_function (server, server_pull); - gnutls_transport_set_ptr (server, (gnutls_transport_ptr_t)server); + gnutls_transport_set_ptr (server, server); /* Init client */ gnutls_certificate_allocate_credentials (&clientx509cred); @@ -118,7 +118,7 @@ void doit(void) gnutls_priority_set_direct (client, "NORMAL", NULL); gnutls_transport_set_push_function (client, client_push); gnutls_transport_set_pull_function (client, client_pull); - gnutls_transport_set_ptr (client, (gnutls_transport_ptr_t)client); + gnutls_transport_set_ptr (client, client); HANDSHAKE(client, server); |