Skip to content

Commit 03ba344

Browse files
committed
report: downgrade reinterpret_cast to static_cast
PR-URL: #25610 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 07a0dc8 commit 03ba344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_report_utils.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void ReportPath(uv_handle_t* h, std::ostringstream& out) {
107107
void WalkHandle(uv_handle_t* h, void* arg) {
108108
std::string type;
109109
std::ostringstream data;
110-
JSONWriter* writer = reinterpret_cast<JSONWriter*>(arg);
110+
JSONWriter* writer = static_cast<JSONWriter*>(arg);
111111
uv_any_handle* handle = reinterpret_cast<uv_any_handle*>(h);
112112

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

0 commit comments

Comments
 (0)