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 @@ -445,7 +445,7 @@ void ResetSignalHandlers() {
445445#endif // __POSIX__
446446}
447447
448- static std::atomic<uint64_t > init_process_flags = 0 ;
448+ static std::atomic<uint32_t > init_process_flags = 0 ;
449449
450450static void PlatformInit (ProcessInitializationFlags::Flags flags) {
451451 // 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