make things compile/run

This commit is contained in:
Folkert 2021-03-09 20:19:34 +01:00
parent 2031488d1a
commit c1d0af5b39
2 changed files with 1 additions and 4 deletions

View file

@ -520,7 +520,7 @@ impl<
Literal::Int(x) => {
let reg = self.claim_general_reg(sym)?;
let val = *x;
ASM::mov_reg64_imm64(&mut self.buf, reg, val);
ASM::mov_reg64_imm64(&mut self.buf, reg, val as i64);
Ok(())
}
Literal::Float(x) => {