Skip to content

Commit

Permalink
fix(riscv/plic): add missing explicit cast
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Martins <[email protected]>
  • Loading branch information
josecm committed May 23, 2024
1 parent 5861033 commit 072caef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/riscv/irqc/plic/vplic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 072caef

Please sign in to comment.