test: add proper type casts

This commit is contained in:
Ben Noordhuis 2012-02-23 05:42:45 -08:00
parent 8f716a9348
commit a5082e8271

View File

@ -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);