Index: src/defaults.cc |
diff --git a/src/defaults.cc b/src/defaults.cc |
index 94080ddbd61f37af0b362b14b2b2e0966c442b4f..51159a8ed5faccd1c9ecb68024b6cd2866d91a51 100644 |
--- a/src/defaults.cc |
+++ b/src/defaults.cc |
@@ -40,7 +40,7 @@ bool ConfigureResourceConstraintsForCurrentPlatform( |
} |
uint64_t physical_memory = i::OS::TotalPhysicalMemory(); |
- uintptr_t lump_of_memory = (i::kPointerSize / 4) * i::MB; |
+ int lump_of_memory = (i::kPointerSize / 4) * i::MB; |
// The young_space_size should be a power of 2 and old_generation_size should |
// be a multiple of Page::kPageSize. |