From 0c65314e0e8602f4a7e0ace43ebd63de233eac62 Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Thu, 29 Nov 2018 17:24:47 -0800 Subject: src: fix type mismatch warnings from missing priv Registration initialization functions are expected to have a 4th argument, a void*, so add them where necessary to fix the warnings. PR-URL: https://github.com/nodejs/node/pull/24737 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig --- src/js_stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/js_stream.h') diff --git a/src/js_stream.h b/src/js_stream.h index 6612e558aea..482373016d0 100644 --- a/src/js_stream.h +++ b/src/js_stream.h @@ -14,7 +14,8 @@ class JSStream : public AsyncWrap, public StreamBase { public: static void Initialize(v8::Local target, v8::Local unused, - v8::Local context); + v8::Local context, + void* priv); bool IsAlive() override; bool IsClosing() override; -- cgit v1.2.3