uv_process_pipe_shutdown_req call should match prototype

This commit is contained in:
Jeroen Janssen 2011-08-17 13:24:09 +02:00 committed by Bert Belder
parent a51f376655
commit 6b27bf9a86

View File

@ -114,7 +114,7 @@ void uv_process_reqs() {
/* Tcp shutdown requests don't come here. */
assert(((uv_shutdown_t*) req)->handle->type == UV_NAMED_PIPE);
uv_process_pipe_shutdown_req(
(uv_pipe_t*) ((uv_shutdown_t*) req)->handle, req);
(uv_pipe_t*) ((uv_shutdown_t*) req)->handle, (uv_shutdown_t*) req);
break;
case UV_WAKEUP: