From d9d92f07e2a5fc8d24abf9c6eda47c72532ccd09 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 Refs: https://github.com/libuv/libuv/issues/1607 --- 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) {