diff options
| author | crimsonwoods <[email protected]> | 2013-03-21 22:57:29 +0900 |
|---|---|---|
| committer | crimsonwoods <[email protected]> | 2013-03-21 22:57:29 +0900 |
| commit | e06648a88d4369c8ffc1a0b5ff0cffd85e269477 (patch) | |
| tree | 2c437635843b74c74a12ee7e81f92f15b6a211b1 /src/vm.c | |
| parent | c1f6a27660432771c033775ec144d06d361e704d (diff) | |
| download | mruby-e06648a88d4369c8ffc1a0b5ff0cffd85e269477.tar.gz mruby-e06648a88d4369c8ffc1a0b5ff0cffd85e269477.zip | |
"Ax" is larger than 16-bit.
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1126,7 +1126,7 @@ mrb_run(mrb_state *mrb, struct RProc *proc, mrb_value self) CASE(OP_ENTER) { /* Ax arg setup according to flags (24=5:5:1:5:5:1:1) */ /* number of optional arguments times OP_JMP should follow */ - int ax = GETARG_Ax(i); + int32_t ax = GETARG_Ax(i); int m1 = (ax>>18)&0x1f; int o = (ax>>13)&0x1f; int r = (ax>>12)&0x1; |
