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/tls_wrap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tls_wrap.h') diff --git a/src/tls_wrap.h b/src/tls_wrap.h index 4c47cd8119..13f2bc1c71 100644 --- a/src/tls_wrap.h +++ b/src/tls_wrap.h @@ -54,7 +54,8 @@ class TLSWrap : public AsyncWrap, static void Initialize(v8::Local target, v8::Local unused, - v8::Local context); + v8::Local context, + void* priv); int GetFD() override; bool IsAlive() override; -- cgit v1.2.3