diff --git a/src/node_process_methods.cc b/src/node_process_methods.cc index d39e49e355ef2e..127ef63210b962 100644 --- a/src/node_process_methods.cc +++ b/src/node_process_methods.cc @@ -73,7 +73,7 @@ static void Abort(const FunctionCallbackInfo& args) { // For internal testing only, not exposed to userland. static void CauseSegfault(const FunctionCallbackInfo& args) { // This should crash hard all platforms. - volatile void** d = static_cast(nullptr); + void* volatile* d = static_cast(nullptr); *d = nullptr; }