From 69c78f9ff704c64c3bd696ffc3a06fdbface63bc Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sun, 19 May 2019 22:32:30 +0800 Subject: [PATCH] unix: remove redundant cast in process.c PR-URL: https://github.com/libuv/libuv/pull/2300 Reviewed-By: Ben Noordhuis Reviewed-By: Colin Ihrig --- src/unix/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/process.c b/src/unix/process.c index e29bf154..bb6b76c9 100644 --- a/src/unix/process.c +++ b/src/unix/process.c @@ -249,7 +249,7 @@ static int uv__process_open_stream(uv_stdio_container_t* container, static void uv__process_close_stream(uv_stdio_container_t* container) { if (!(container->flags & UV_CREATE_PIPE)) return; - uv__stream_close((uv_stream_t*)container->data.stream); + uv__stream_close(container->data.stream); }