From 62d1c5751eba9a3b579a75c96a2ac73998165478 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sat, 6 Aug 2011 17:01:09 +0200 Subject: [PATCH] =?UTF-8?q?uv-unix:=20fix=20warning:=20passing=20argument?= =?UTF-8?q?=201=20of=20=E2=80=98eio=5Fcustom=E2=80=99=20from=20incompatibl?= =?UTF-8?q?e=20pointer=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/uv-unix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/uv-unix.c b/src/uv-unix.c index 7e393ca44..eaf6a778e 100644 --- a/src/uv-unix.c +++ b/src/uv-unix.c @@ -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; }