Fix 64 bit conversion warnings.

This commit is contained in:
Mike Pall
2010-02-24 20:02:20 +01:00
parent 4c9f71be5d
commit 4e73488985
3 changed files with 5 additions and 5 deletions

View File

@@ -1047,7 +1047,7 @@ static void asm_guardcc(ASMState *as, int cc)
MCode *p = as->mcp;
if (LJ_UNLIKELY(p == as->invmcp)) {
as->loopinv = 1;
*(int32_t *)(p+1) = target - (p+5);
*(int32_t *)(p+1) = jmprel(p+5, target);
target = p;
cc ^= 1;
if (as->realign) {