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) {