0.9.18.33:
[sbcl.git] / src / runtime / gencgc.c
index 75ee8bb..21bcd78 100644 (file)
@@ -148,8 +148,6 @@ unsigned long bytes_allocated = 0;
 extern unsigned long bytes_consed_between_gcs; /* gc-common.c */
 unsigned long auto_gc_trigger = 0;
 
-size_t dynamic_space_size = DEFAULT_DYNAMIC_SPACE_SIZE;
-
 /* the source and destination generations. These are set before a GC starts
  * scavenging. */
 generation_index_t from_space;
@@ -4410,7 +4408,7 @@ gc_init(void)
     /* Compute the number of pages needed for the dynamic space.
      * Dynamic space size should be aligned on page size. */
     page_table_pages = dynamic_space_size/PAGE_BYTES;
-    gc_assert(dynamic_space_size == page_table_pages*PAGE_BYTES);
+    gc_assert(dynamic_space_size == (size_t) page_table_pages*PAGE_BYTES);
 
     page_table = calloc(page_table_pages, sizeof(struct page));
     gc_assert(page_table);