From c1387cbdcd945e1d08e8c6ba714c2d8fcc897f98 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Tue, 5 Jul 2022 08:09:28 -0600 Subject: [PATCH] regcomp.h: Use mnemonic instead of literal+constant This is a small thing, but might as well use the mnemonic. --- regcomp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regcomp.h b/regcomp.h index cd23a6fc21..096f56da9b 100644 --- a/regcomp.h +++ b/regcomp.h @@ -171,7 +171,7 @@ struct regnode_2 { U16 arg2; }; -#define ANYOF_BITMAP_SIZE (NUM_ANYOF_CODE_POINTS / 8) /* 8 bits/Byte */ +#define ANYOF_BITMAP_SIZE (NUM_ANYOF_CODE_POINTS / CHARBITS) /* Note that these form structs which are supersets of the next smaller one, by * appending fields. Alignment problems can occur if one of those optional