From 949fff587f78a32cbc4ac9bb243f9039272d34ea Mon Sep 17 00:00:00 2001 From: Sam Roberts Date: Wed, 27 Mar 2019 15:35:16 -0700 Subject: [PATCH] src: fix warning on mismatched fn signature Add the missing `void* priv` to node_report's Initialize(). --- src/node_report_module.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node_report_module.cc b/src/node_report_module.cc index 3317077e8b9814..f303685adbbf88 100644 --- a/src/node_report_module.cc +++ b/src/node_report_module.cc @@ -155,7 +155,8 @@ static void SetReportOnUncaughtException( static void Initialize(Local exports, Local unused, - Local context) { + Local context, + void* priv) { Environment* env = Environment::GetCurrent(context); env->SetMethod(exports, "writeReport", WriteReport);