File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ void ResetSignalHandlers() {
429429#endif // __POSIX__
430430}
431431
432- static std::atomic<uint64_t > init_process_flags = 0 ;
432+ static std::atomic<uint32_t > init_process_flags = 0 ;
433433
434434static void PlatformInit (ProcessInitializationFlags::Flags flags) {
435435 // init_process_flags is accessed in ResetStdio(),
Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ class MultiIsolatePlatform;
228228class InitializationResultImpl ;
229229
230230namespace ProcessFlags {
231+ // TODO(addaleax): Switch to uint32_t to match std::atomic<uint32_t>
232+ // init_process_flags in node.cc
231233enum Flags : uint64_t {
232234 kNoFlags = 0 ,
233235 // Enable stdio inheritance, which is disabled by default.
You can’t perform that action at this time.
0 commit comments