From 8ddfc177205d0b839cdce41435128dfcde2a1202 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 4 Jul 2023 19:10:22 +0900 Subject: Use `uint_least32_t` The elements of `ruby_global_name_punct_bits` table are 32-bit masks. --- symbol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'symbol.h') diff --git a/symbol.h b/symbol.h index ffbf7ce198..a8256515d8 100644 --- a/symbol.h +++ b/symbol.h @@ -100,7 +100,7 @@ sym_type(VALUE sym) #define is_class_sym(sym) (sym_type(sym)==ID_CLASS) #define is_junk_sym(sym) (sym_type(sym)==ID_JUNK) -RUBY_FUNC_EXPORTED const unsigned int ruby_global_name_punct_bits[(0x7e - 0x20 + 31) / 32]; +RUBY_FUNC_EXPORTED const uint_least32_t ruby_global_name_punct_bits[(0x7e - 0x20 + 31) / 32]; static inline int is_global_name_punct(const int c) -- cgit v1.2.3