From f2a404eb0cca522d45f324d450e3b985263e9cbb Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Wed, 4 Nov 2009 12:25:47 +0000 Subject: [PATCH] inconsistency reported by Basile git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9410 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- byterun/gc_ctrl.c | 2 +- byterun/major_gc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/byterun/gc_ctrl.c b/byterun/gc_ctrl.c index ec9c82ab1..af89b5301 100644 --- a/byterun/gc_ctrl.c +++ b/byterun/gc_ctrl.c @@ -41,7 +41,7 @@ intnat caml_stat_minor_collections = 0, caml_stat_compactions = 0, caml_stat_heap_chunks = 0; -extern asize_t caml_major_heap_increment; /* bytes; see major_gc.c */ +extern uintnat caml_major_heap_increment; /* bytes; see major_gc.c */ extern uintnat caml_percent_free; /* see major_gc.c */ extern uintnat caml_percent_max; /* see compact.c */ extern uintnat caml_allocation_policy; /* see freelist.c */ diff --git a/byterun/major_gc.c b/byterun/major_gc.c index 1298498f4..b9ec8cbfe 100644 --- a/byterun/major_gc.c +++ b/byterun/major_gc.c @@ -30,7 +30,7 @@ #include "weak.h" uintnat caml_percent_free; -intnat caml_major_heap_increment; +uintnat caml_major_heap_increment; CAMLexport char *caml_heap_start; char *caml_gc_sweep_hp; int caml_gc_phase; /* always Phase_mark, Phase_sweep, or Phase_idle */