Skip to content

Commit 66b9536

Browse files
sam-githubdanbev
authored andcommitted
src: fix warning on mismatched fn signature
Add the missing `void* priv` to node_report's Initialize(). PR-URL: #26950 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]>
1 parent e573394 commit 66b9536

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_report_module.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ static void SetReportOnUncaughtException(
155155

156156
static void Initialize(Local<Object> exports,
157157
Local<Value> unused,
158-
Local<Context> context) {
158+
Local<Context> context,
159+
void* priv) {
159160
Environment* env = Environment::GetCurrent(context);
160161

161162
env->SetMethod(exports, "writeReport", WriteReport);

0 commit comments

Comments
 (0)