From: Nikodemus Siivola Date: Fri, 25 Nov 2011 12:42:49 +0000 (+0200) Subject: cleanup: use os_vm_size_t in count_generation_bytes_allocated X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=b30f21a9cf8366ec88022e84c698f1d8d45e885e;p=sbcl.git cleanup: use os_vm_size_t in count_generation_bytes_allocated --- 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))