test: add proper type casts
This commit is contained in:
parent
8f716a9348
commit
a5082e8271
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user