From a5082e827171bb6d00bce1140cd7d59f0f17653b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 23 Feb 2012 05:42:45 -0800 Subject: [PATCH] test: add proper type casts --- test/run-tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/run-tests.c b/test/run-tests.c index a101305b..4bc52587 100644 --- a/test/run-tests.c +++ b/test/run-tests.c @@ -131,8 +131,8 @@ static int ipc_helper(int listen_after_write) { uv_pipe_open(&channel, 0); - ASSERT(uv_is_readable(&channel)); - ASSERT(uv_is_writable(&channel)); + ASSERT(uv_is_readable((uv_stream_t*)&channel)); + ASSERT(uv_is_writable((uv_stream_t*)&channel)); r = uv_tcp_init(uv_default_loop(), &tcp_server); ASSERT(r == 0);