From ebe7496d14a26dec58b36a383d4d0e33a7579563 Mon Sep 17 00:00:00 2001 From: Kanstantsin Sokal Date: Sun, 3 Mar 2024 06:36:00 -0800 Subject: [PATCH] Fix build: use LRE_BOOL in libunicode.h (#244) --- libunicode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libunicode.h b/libunicode.h index 5f29eda19..f416157b9 100644 --- a/libunicode.h +++ b/libunicode.h @@ -41,7 +41,7 @@ typedef enum { } UnicodeNormalizationEnum; int lre_case_conv(uint32_t *res, uint32_t c, int conv_type); -int lre_canonicalize(uint32_t c, BOOL is_unicode); +int lre_canonicalize(uint32_t c, LRE_BOOL is_unicode); LRE_BOOL lre_is_cased(uint32_t c); LRE_BOOL lre_is_case_ignorable(uint32_t c); @@ -102,7 +102,7 @@ int cr_op(CharRange *cr, const uint32_t *a_pt, int a_len, int cr_invert(CharRange *cr); -int cr_regexp_canonicalize(CharRange *cr, BOOL is_unicode); +int cr_regexp_canonicalize(CharRange *cr, LRE_BOOL is_unicode); #ifdef CONFIG_ALL_UNICODE