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() {
445
445
#endif // __POSIX__
446
446
}
447
447
448
- static std::atomic<uint64_t > init_process_flags = 0 ;
448
+ static std::atomic<uint32_t > init_process_flags = 0 ;
449
449
450
450
static void PlatformInit (ProcessInitializationFlags::Flags flags) {
451
451
// init_process_flags is accessed in ResetStdio(),
Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ class MultiIsolatePlatform;
228
228
class InitializationResultImpl ;
229
229
230
230
namespace ProcessFlags {
231
+ // TODO(addaleax): Switch to uint32_t to match std::atomic<uint32_t>
232
+ // init_process_flags in node.cc
231
233
enum Flags : uint64_t {
232
234
kNoFlags = 0 ,
233
235
// Enable stdio inheritance, which is disabled by default.
You can’t perform that action at this time.
0 commit comments