From 4ba51ca5cab0cf10a39f7dd12b7b1e66a4ca8fc1 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 21 Jul 2017 20:59:55 +0300 Subject: [PATCH] Fix GC_incremental declaration/definition type mismatch * alloc.c [!GC_DISABLE_INCREMENTAL] (GC_incremental): Change variable type from int to GC_bool (to match that of the declaration in gc_priv.h). --- alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alloc.c b/alloc.c index 894c7983..2dc37abb 100644 --- a/alloc.c +++ b/alloc.c @@ -61,7 +61,7 @@ word GC_non_gc_bytes = 0; /* Number of bytes not intended to be collected */ word GC_gc_no = 0; #ifndef GC_DISABLE_INCREMENTAL - GC_INNER int GC_incremental = 0; /* By default, stop the world. */ + GC_INNER GC_bool GC_incremental = FALSE; /* By default, stop the world. */ #endif #ifdef THREADS -- 2.40.0