diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-26 10:47:40 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-26 10:47:40 +0900 |
| commit | 6175db2746b00ac6caa94734593f617fce02feb2 (patch) | |
| tree | 96a848df4f7be4b7dfc53265a985b236ab2ae687 /include | |
| parent | 22b24d5d7616a755fe3b86590dd1933ee8dae82a (diff) | |
| download | mruby-6175db2746b00ac6caa94734593f617fce02feb2.tar.gz mruby-6175db2746b00ac6caa94734593f617fce02feb2.zip | |
irep.h: operand c should be fit in `uint8_t`.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/irep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h index 6a3b4bd10..aaf489933 100644 --- a/include/mruby/irep.h +++ b/include/mruby/irep.h @@ -122,7 +122,7 @@ struct mrb_insn_data { uint8_t insn; uint16_t a; uint16_t b; - uint16_t c; + uint8_t c; }; struct mrb_insn_data mrb_decode_insn(const mrb_code *pc); |
