unix: remove redundant cast in process.c

PR-URL: https://github.com/libuv/libuv/pull/2300
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
gengjiawen 2019-05-19 22:32:30 +08:00 committed by cjihrig
parent d92c5d1314
commit 69c78f9ff7
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5

View File

@ -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);
}