From 84ad50ef64d0325acaf337c68d554d43a52d8d53 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 26 Oct 2017 12:49:30 +0200 Subject: [PATCH] src: use uv_stream_t, not uv_stream_s PR-URL: https://github.com/nodejs/node/pull/16512 Refs: https://github.com/libuv/libuv/issues/1607 Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Santiago Gimeno Reviewed-By: Colin Ihrig --- src/inspector_socket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspector_socket.cc b/src/inspector_socket.cc index 2d5054bb802d95..092138a7fa6f90 100644 --- a/src/inspector_socket.cc +++ b/src/inspector_socket.cc @@ -513,7 +513,7 @@ static int message_complete_cb(http_parser* parser) { return 0; } -static void data_received_cb(uv_stream_s* tcp, ssize_t nread, +static void data_received_cb(uv_stream_t* tcp, ssize_t nread, const uv_buf_t* buf) { #if DUMP_READS if (nread >= 0) {