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/resume.c | |
parent | f9865ce118eca4c3ab45f8f919a961a03473fd0c (diff) | |
download | gnutls-4cbd7bae4e21df0bd1d1ee24450e39fb9b9b2429.tar.gz |
Fix warnings.
Diffstat (limited to 'tests/resume.c')
-rw-r--r-- | tests/resume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/resume.c b/tests/resume.c index 22618c42ce..bf538279d6 100644 --- a/tests/resume.c +++ b/tests/resume.c @@ -258,7 +258,7 @@ global_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) |