From 7775309928cf85b3751ac628ee423c8c1014cbe6 Mon Sep 17 00:00:00 2001 From: Jose Martins Date: Thu, 23 May 2024 14:36:20 +0100 Subject: [PATCH] fix(riscv/plic): add missing explicit cast Signed-off-by: Jose Martins --- src/arch/riscv/irqc/plic/vplic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/riscv/irqc/plic/vplic.c b/src/arch/riscv/irqc/plic/vplic.c index 76311b7dc..f0e63ab59 100644 --- a/src/arch/riscv/irqc/plic/vplic.c +++ b/src/arch/riscv/irqc/plic/vplic.c @@ -142,7 +142,7 @@ static void vplic_ipi_handler(uint32_t event, uint64_t data) { switch (event) { case UPDATE_HART_LINE: - vplic_update_hart_line(cpu()->vcpu, data); + vplic_update_hart_line(cpu()->vcpu, (size_t)data); break; default: WARNING("Unknown VPLIC IPI event");