From 52fba1a38fcd333d7f585778ca2c66838a473ce2 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 12 Jan 2012 16:00:31 +0100 Subject: [PATCH] unix: fix compiler warning --- src/unix/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/udp.c b/src/unix/udp.c index cbb37669..223235dd 100644 --- a/src/unix/udp.c +++ b/src/unix/udp.c @@ -332,7 +332,7 @@ static int uv__bind(uv_udp_t* handle, goto out; } #else - uv__set_sys_error((uv_handle_t*)handle, ENOTSUP); + uv__set_sys_error(handle->loop, ENOTSUP); goto out; #endif }