diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/numeric.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/numeric.c b/src/numeric.c index ef9308aea..7490211af 100644 --- a/src/numeric.c +++ b/src/numeric.c @@ -1009,8 +1009,7 @@ fix_shift_get_width(mrb_state *mrb, mrb_int *width) mrb_value y; mrb_get_args(mrb, "o", &y); - y = bit_coerce(mrb, y); - *width = mrb_fixnum(y); + *width = mrb_fixnum(bit_coerce(mrb, y)); } /* 15.2.8.3.12 */ |
