From 589736303fe47a488bd1f79487f3ab8201088d2b Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Mon, 13 Aug 2018 19:44:51 +0200 Subject: [PATCH] test: fix warning in test-tcp-open PR-URL: https://github.com/libuv/libuv/pull/1946 Reviewed-By: Colin Ihrig --- test/test-tcp-open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-tcp-open.c b/test/test-tcp-open.c index fc94c846..0d92886d 100644 --- a/test/test-tcp-open.c +++ b/test/test-tcp-open.c @@ -176,7 +176,7 @@ static void timer_cb(uv_timer_t* handle) { int r; /* Shutdown on drain. */ - r = uv_shutdown(&shutdown_req, &client, shutdown_cb); + r = uv_shutdown(&shutdown_req, (uv_stream_t*) &client, shutdown_cb); ASSERT(r == 0); shutdown_requested++; }