diff options
author | Mike Pall <mike> | 2012-07-03 13:22:30 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-07-03 13:22:30 +0200 |
commit | 80d0acc7c1e765cee7fc6fb14b7a844d3b28acc4 (patch) | |
tree | b3de84541c84e7458fb6a779b909892e1e23a44d /src/lj_asm.c | |
parent | 17d3fc47f30f8d8e62231252ce41f4feba71aa2f (diff) | |
download | luajit-80d0acc7c1e765cee7fc6fb14b7a844d3b28acc4.tar.gz luajit-80d0acc7c1e765cee7fc6fb14b7a844d3b28acc4.tar.bz2 luajit-80d0acc7c1e765cee7fc6fb14b7a844d3b28acc4.zip |
Fix compiler warnings.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 8ff3eaf7..15685d85 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1558,7 +1558,7 @@ static void asm_setup_regsp(ASMState *as, int sink) | |||
1558 | if (as->parent) { | 1558 | if (as->parent) { |
1559 | uint16_t *p; | 1559 | uint16_t *p; |
1560 | lastir = lj_snap_regspmap(as->parent, as->J->exitno, ir); | 1560 | lastir = lj_snap_regspmap(as->parent, as->J->exitno, ir); |
1561 | as->stopins = (lastir-1) - as->ir; | 1561 | as->stopins = (IRRef)((lastir-1) - as->ir); |
1562 | for (p = as->parentmap; ir < lastir; ir++) { | 1562 | for (p = as->parentmap; ir < lastir; ir++) { |
1563 | RegSP rs = ir->prev; | 1563 | RegSP rs = ir->prev; |
1564 | *p++ = (uint16_t)rs; /* Copy original parent RegSP to parentmap. */ | 1564 | *p++ = (uint16_t)rs; /* Copy original parent RegSP to parentmap. */ |