diff --git a/src/tracing/node_trace_buffer.cc b/src/tracing/node_trace_buffer.cc index 796c9f529288e5..d2cfd02366583b 100644 --- a/src/tracing/node_trace_buffer.cc +++ b/src/tracing/node_trace_buffer.cc @@ -160,7 +160,7 @@ bool NodeTraceBuffer::TryLoadAvailableBuffer() { // static void NodeTraceBuffer::NonBlockingFlushSignalCb(uv_async_t* signal) { - NodeTraceBuffer* buffer = reinterpret_cast(signal->data); + NodeTraceBuffer* buffer = static_cast(signal->data); if (buffer->buffer1_.IsFull() && !buffer->buffer1_.IsFlushing()) { buffer->buffer1_.Flush(false); }