From ef5d171cc89b19ac1fea905b99d819b5f97cba00 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 27 Mar 2025 12:38:29 -0300 Subject: New macro 'l_numbits' --- ltable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 8df9a4fb..0b3ec176 100644 --- a/ltable.c +++ b/ltable.c @@ -67,7 +67,7 @@ typedef union { ** MAXABITS is the largest integer such that 2^MAXABITS fits in an ** unsigned int. */ -#define MAXABITS cast_int(sizeof(int) * CHAR_BIT - 1) +#define MAXABITS (l_numbits(int) - 1) /* -- cgit v1.2.3-55-g6feb