From 71bcf9a621d2a48f67b810befb5adf5b7c59437f Mon Sep 17 00:00:00 2001 From: "hpayer@chromium.org" Date: Thu, 26 Sep 2013 14:49:47 +0000 Subject: [PATCH] Fix Windows build of defaults.cc. BUG=None R=hpayer@chromium.org Review URL: https://codereview.chromium.org/24762002 Patch from Ross McIlroy . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16968 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/defaults.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/defaults.cc b/src/defaults.cc index 94080dd..51159a8 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. -- 2.7.4