From b30f21a9cf8366ec88022e84c698f1d8d45e885e Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Fri, 25 Nov 2011 14:42:49 +0200 Subject: [PATCH] cleanup: use os_vm_size_t in count_generation_bytes_allocated --- src/runtime/gencgc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/gencgc.c b/src/runtime/gencgc.c index f5cc2fb..90a434b 100644 --- a/src/runtime/gencgc.c +++ b/src/runtime/gencgc.c @@ -408,11 +408,11 @@ count_dont_move_pages(void) /* Work through the pages and add up the number of bytes used for the * given generation. */ -static unsigned long +static os_vm_size_t count_generation_bytes_allocated (generation_index_t gen) { page_index_t i; - unsigned long result = 0; + os_vm_size_t result = 0; for (i = 0; i < last_free_page; i++) { if (page_allocated_p(i) && (page_table[i].gen == gen)) -- 1.7.10.4