unix: fix compiler warning

This commit is contained in:
Ben Noordhuis 2012-01-12 16:00:31 +01:00
parent 855764406e
commit 52fba1a38f

View File

@ -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
}