Skip to content

Commit 949fff5

Browse files
committed
src: fix warning on mismatched fn signature
Add the missing `void* priv` to node_report's Initialize().
1 parent 2c73868 commit 949fff5

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)