diff --git a/src/node_process_methods.cc b/src/node_process_methods.cc index 21d289dc77fb6b..8faf5ded811437 100644 --- a/src/node_process_methods.cc +++ b/src/node_process_methods.cc @@ -72,7 +72,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; }