From 03ba34401bfca759c3e8dfacd2d9d08d1f6e0b6c Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Mon, 21 Jan 2019 15:31:42 +0100 Subject: [PATCH] report: downgrade reinterpret_cast to static_cast PR-URL: https://github.com/nodejs/node/pull/25610 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- src/node_report_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_report_utils.cc b/src/node_report_utils.cc index f09ee507d3aeb5..309cf8166051fa 100644 --- a/src/node_report_utils.cc +++ b/src/node_report_utils.cc @@ -107,7 +107,7 @@ void ReportPath(uv_handle_t* h, std::ostringstream& out) { void WalkHandle(uv_handle_t* h, void* arg) { std::string type; std::ostringstream data; - JSONWriter* writer = reinterpret_cast(arg); + JSONWriter* writer = static_cast(arg); uv_any_handle* handle = reinterpret_cast(h); // List all the types so we get a compile warning if we've missed one,