Skip to content

Commit 9c3d692

Browse files
committed
test: fix 'incompatible pointer types' warnings
Refs: libuv#2686 PR-URL: libuv#3088 Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
1 parent 493be3e commit 9c3d692

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test-poll-multiple-handles.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ TEST_IMPL(poll_multiple_handles) {
8383
/* Closing an already stopped polling handle is safe in any case */
8484
uv_close((uv_handle_t*) &first_poll_handle, close_cb);
8585

86-
uv_unref(&second_poll_handle);
86+
uv_unref((uv_handle_t*) &second_poll_handle);
8787
ASSERT(0 == uv_run(uv_default_loop(), UV_RUN_DEFAULT));
8888
ASSERT(close_cb_called == 1);
89-
uv_ref(&second_poll_handle);
89+
uv_ref((uv_handle_t*) &second_poll_handle);
9090

9191
ASSERT(uv_is_active((uv_handle_t*) &second_poll_handle));
9292
uv_close((uv_handle_t*) &second_poll_handle, close_cb);

0 commit comments

Comments
 (0)