From b910225cc07e429fec323b9cedd48c238d963f94 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Fri, 1 Jan 2021 09:47:22 +0100 Subject: [PATCH] core: Use size_t instead of long for gc sizes. * include/mes/mes.h (ARENA_SIZE, MAX_ARENA_SIZE, STACK_SIZE, JAM_SIZE, GC_SAFETY, MAX_STRING): Use size_t instead of long. --- include/mes/mes.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/mes/mes.h b/include/mes/mes.h index aaf7d65c..263e70be 100644 --- a/include/mes/mes.h +++ b/include/mes/mes.h @@ -77,12 +77,12 @@ struct scm *g_macros; struct scm *g_ports; /* gc */ -long ARENA_SIZE; -long MAX_ARENA_SIZE; -long STACK_SIZE; -long JAM_SIZE; -long GC_SAFETY; -long MAX_STRING; +size_t ARENA_SIZE; +size_t MAX_ARENA_SIZE; +size_t STACK_SIZE; +size_t JAM_SIZE; +size_t GC_SAFETY; +size_t MAX_STRING; char *g_arena; struct scm *cell_arena; struct scm *cell_zero;