Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index ab3bcf2d84c8d1a19912380d7d5f4a98764b2df9..dfdd813f20f1b551a34c01b369278c58d6ce5b0e 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -1937,7 +1937,7 @@ void FreeListCategory::Reset() { |
intptr_t FreeListCategory::CountFreeListItemsInList(Page* p) { |
- intptr_t sum = 0; |
+ int sum = 0; |
FreeListNode* n = top_; |
while (n != NULL) { |
if (Page::FromAddress(n->address()) == p) { |
@@ -1951,7 +1951,7 @@ intptr_t FreeListCategory::CountFreeListItemsInList(Page* p) { |
intptr_t FreeListCategory::EvictFreeListItemsInList(Page* p) { |
- intptr_t sum = 0; |
+ int sum = 0; |
FreeListNode** n = &top_; |
while (*n != NULL) { |
if (Page::FromAddress((*n)->address()) == p) { |