diff options
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 531496fe19..63dd86a8d2 100644 --- a/prism/util/pm_constant_pool.c +++ b/prism/util/pm_constant_pool.c @@ -213,7 +213,7 @@ pm_constant_pool_insert(pm_constant_pool_t *pool, const uint8_t *start, size_t l *bucket = (pm_constant_pool_bucket_t) { .id = (unsigned int) (id & 0x3fffffff), - .type = type, + .type = (unsigned int) (type & 0x3), .hash = hash }; |