aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sws.c
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-08-08 05:03:16 +0200
committerGuenter Knauf <lists@gknw.net>2012-08-08 05:03:16 +0200
commit154fc29f589f1b5b1503a14c2afe591f7c9edb71 (patch)
tree4c03f959519ba32509263dfec695bd0dc4240c15 /tests/server/sws.c
parent52db6e370d7feb83e86e0a24b2da359d23efdc28 (diff)
Fix some compiler warnings.
Diffstat (limited to 'tests/server/sws.c')
-rw-r--r--tests/server/sws.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 151e0647f..af867bdb3 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -1709,7 +1709,7 @@ http_connect_cleanup:
/* returns a socket handle, or 0 if there are no more waiting sockets,
or < 0 if there was an error */
-static int accept_connection(int sock)
+static curl_socket_t accept_connection(curl_socket_t sock)
{
curl_socket_t msgsock = CURL_SOCKET_BAD;
int error;
@@ -1788,8 +1788,8 @@ static int accept_connection(int sock)
/* returns 1 if the connection should be serviced again immediately, 0 if there
is no data waiting, or < 0 if it should be closed */
-static int service_connection(int msgsock, struct httprequest *req,
- int listensock, const char *hostport)
+static int service_connection(curl_socket_t msgsock, struct httprequest *req,
+ curl_socket_t listensock, const char *hostport)
{
if(got_exit_signal)
return -1;