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/async_wrap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/async_wrap.h') diff --git a/src/async_wrap.h b/src/async_wrap.h index e3d5748bbc..523d620b0a 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -116,7 +116,8 @@ class AsyncWrap : public BaseObject { static void Initialize(v8::Local target, v8::Local unused, - v8::Local context); + v8::Local context, + void* priv); static void GetAsyncId(const v8::FunctionCallbackInfo& args); static void PushAsyncIds(const v8::FunctionCallbackInfo& args); -- cgit v1.2.3