Skip to content

Commit

Permalink
src: fix warning on mismatched fn signature
Browse files Browse the repository at this point in the history
Add the missing `void* priv` to node_report's Initialize().
  • Loading branch information
sam-github committed Mar 28, 2019
1 parent 2c73868 commit 949fff5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/node_report_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ static void SetReportOnUncaughtException(

static void Initialize(Local<Object> exports,
Local<Value> unused,
Local<Context> context) {
Local<Context> context,
void* priv) {
Environment* env = Environment::GetCurrent(context);

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

0 comments on commit 949fff5

Please sign in to comment.