Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
report: downgrade reinterpret_cast to static_cast
  • Loading branch information
addaleax committed Jan 21, 2019
commit 3130406949c331500531a523d9d759b567eeb354
2 changes: 1 addition & 1 deletion src/node_report_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,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<JSONWriter*>(arg);
JSONWriter* writer = static_cast<JSONWriter*>(arg);
uv_any_handle* handle = reinterpret_cast<uv_any_handle*>(h);

// List all the types so we get a compile warning if we've missed one,
Expand Down