aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-04 19:10:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-07-04 21:30:44 +0900
commit8ddfc177205d0b839cdce41435128dfcde2a1202 (patch)
tree390bfc8bb9d33d9685d4a9b5344a2b69141c221d /symbol.h
parentab661556207046022860958d3c4f06bb289a7c97 (diff)
downloadruby-8ddfc177205d0b839cdce41435128dfcde2a1202.tar.gz
Use `uint_least32_t`
The elements of `ruby_global_name_punct_bits` table are 32-bit masks.
Diffstat (limited to 'symbol.h')
-rw-r--r--symbol.h2
1 files changed, 1 insertions, 1 deletions
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)