From b5fa3639c7fa37ca4d41a589ad3c07d22ee16ea6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 21 Oct 2017 10:21:31 +0000 Subject: imemo_mask (enum) -> IMEMO_MASK (immediate value). * internal.h: imemo_mask is not a valid imemo type but switch statements show warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/objspace/objspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/objspace') diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index d1ccb51094..61fb6a99f3 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -554,7 +554,7 @@ count_tdata_objects(int argc, VALUE *argv, VALUE self) return hash; } -static ID imemo_type_ids[imemo_mask+1]; +static ID imemo_type_ids[IMEMO_MASK+1]; static int count_imemo_objects_i(void *vstart, void *vend, size_t stride, void *data) -- cgit v1.2.3