aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-29 09:31:26 +0100
committerlemon <lsof@mailbox.org>2025-12-29 09:31:26 +0100
commit1151d095ac459244671ea2f12af4638f4c5cc701 (patch)
treeed8d58bb88e972b40b94933de0c470f8c1a2d2d2
parent9cda8c62368320cfc50f7efe78a75dc62c4fbd1d (diff)
x86_64/isel: aimm should take vlong
-rw-r--r--x86_64/isel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x86_64/isel.c b/x86_64/isel.c
index 98d66a1..a3c1c79 100644
--- a/x86_64/isel.c
+++ b/x86_64/isel.c
@@ -183,7 +183,7 @@ selcall(struct function *fn, struct instr *ins, struct block *blk, int *curi)
}
static bool
-aimm(struct addr *addr, int disp)
+aimm(struct addr *addr, vlong disp)
{
vlong a = addr->disp;
a += disp;