aboutsummaryrefslogtreecommitdiffstats
path: root/prism/util
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-18 15:19:31 -0400
committergit <svn-admin@ruby-lang.org>2023-10-18 19:19:38 +0000
commit6873f96abc2a924b264b6ed3818b2fe9cbf05d6c (patch)
tree4b82eba0bced5a92f7836c376c5bbd2c096fdc27 /prism/util
parent4b909bdbaeaec1725cb3ce4007d361dc0e477d27 (diff)
downloadruby-6873f96abc2a924b264b6ed3818b2fe9cbf05d6c.tar.gz
[ruby/prism] Bump to version 0.15.1
https://github.com/ruby/prism/commit/d906a8ceba
Diffstat (limited to 'prism/util')
-rw-r--r--prism/util/pm_constant_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/util/pm_constant_pool.c b/prism/util/pm_constant_pool.c
index 63dd86a8d2..8ed97c86a3 100644
--- a/prism/util/pm_constant_pool.c
+++ b/prism/util/pm_constant_pool.c
@@ -197,7 +197,7 @@ pm_constant_pool_insert(pm_constant_pool_t *pool, const uint8_t *start, size_t l
// constant and replace it with the shared constant.
free((void *) constant->start);
constant->start = start;
- bucket->type = PM_CONSTANT_POOL_BUCKET_DEFAULT;
+ bucket->type = (unsigned int) (PM_CONSTANT_POOL_BUCKET_DEFAULT & 0x3);
}
return bucket->id;