diff options
author | Simon Josefsson <simon@josefsson.org> | 2009-05-07 14:38:15 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2009-05-07 14:38:46 +0200 |
commit | 4cbd7bae4e21df0bd1d1ee24450e39fb9b9b2429 (patch) | |
tree | 7be60d69062854186d018ec5d95dbdfd1993a513 /tests/x509signself.c | |
parent | f9865ce118eca4c3ab45f8f919a961a03473fd0c (diff) | |
download | gnutls-4cbd7bae4e21df0bd1d1ee24450e39fb9b9b2429.tar.gz |
Fix warnings.
Diffstat (limited to 'tests/x509signself.c')
-rw-r--r-- | tests/x509signself.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/x509signself.c b/tests/x509signself.c index c4ba598db1..7e42879d54 100644 --- a/tests/x509signself.c +++ b/tests/x509signself.c @@ -350,7 +350,7 @@ server_start (void) sa_serv.sin_addr.s_addr = INADDR_ANY; sa_serv.sin_port = htons (PORT); /* Server Port number */ - setsockopt (listen_sd, SOL_SOCKET, SO_REUSEADDR, &optval, sizeof (int)); + setsockopt (listen_sd, SOL_SOCKET, SO_REUSEADDR, (void *) &optval, sizeof (int)); err = bind (listen_sd, (SA *) & sa_serv, sizeof (sa_serv)); if (err == -1) |