uv-unix: fix warning: passing argument 1 of ‘eio_custom’ from incompatible pointer type

This commit is contained in:
Ben Noordhuis 2011-08-06 17:01:09 +02:00
parent 351a332e25
commit 62d1c5751e

View File

@ -1756,14 +1756,13 @@ static int uv_getaddrinfo_done(eio_req* req) {
}
static int getaddrinfo_thread_proc(eio_req *req) {
static void getaddrinfo_thread_proc(eio_req *req) {
uv_getaddrinfo_t* handle = req->data;
handle->retcode = getaddrinfo(handle->hostname,
handle->service,
handle->hints,
&handle->res);
return 0;
}