diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2018-11-29 17:24:47 -0800 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2018-12-03 19:44:15 -0800 |
commit | 0c65314e0e8602f4a7e0ace43ebd63de233eac62 (patch) | |
tree | a438119eee16a3d3d3427ebf1845ee5df1e626a1 /src/async_wrap.h | |
parent | 02cd7069a8631a324298be9f24771fb0faf23639 (diff) | |
download | android-node-v8-0c65314e0e8602f4a7e0ace43ebd63de233eac62.tar.gz android-node-v8-0c65314e0e8602f4a7e0ace43ebd63de233eac62.tar.bz2 android-node-v8-0c65314e0e8602f4a7e0ace43ebd63de233eac62.zip |
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 <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/async_wrap.h')
-rw-r--r-- | src/async_wrap.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<v8::Object> target, v8::Local<v8::Value> unused, - v8::Local<v8::Context> context); + v8::Local<v8::Context> context, + void* priv); static void GetAsyncId(const v8::FunctionCallbackInfo<v8::Value>& args); static void PushAsyncIds(const v8::FunctionCallbackInfo<v8::Value>& args); |