Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
test: add proper type casts
  • Loading branch information
bnoordhuis committed Feb 23, 2012
1 parent 8f716a9 commit a5082e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/run-tests.c
Expand Up @@ -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);
Expand Down

0 comments on commit a5082e8

Please sign in to comment.