diff options
author | Kevin Newton <[email protected]> | 2023-10-18 15:19:31 -0400 |
---|---|---|
committer | git <[email protected]> | 2023-10-18 19:19:38 +0000 |
commit | 6873f96abc2a924b264b6ed3818b2fe9cbf05d6c (patch) | |
tree | 4b82eba0bced5a92f7836c376c5bbd2c096fdc27 /prism/util/pm_constant_pool.c | |
parent | 4b909bdbaeaec1725cb3ce4007d361dc0e477d27 (diff) |
[ruby/prism] Bump to version 0.15.1
https://github.com/ruby/prism/commit/d906a8ceba
Diffstat (limited to 'prism/util/pm_constant_pool.c')
-rw-r--r-- | prism/util/pm_constant_pool.c | 2 |
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; |