pkarashchenko commented on a change in pull request #5192: URL: https://github.com/apache/incubator-nuttx/pull/5192#discussion_r780529819
########## File path: arch/risc-v/src/fe310/fe310_irq_dispatch.c ########## @@ -52,10 +52,10 @@ volatile uint32_t * g_current_regs; * fe310_dispatch_irq ****************************************************************************/ -void *fe310_dispatch_irq(uint32_t vector, uint32_t *regs) +void *fe310_dispatch_irq(uint32_t vector, uintptr_t *regs) { uint32_t irq = (vector >> 27) | (vector & 0xf); - uint32_t *mepc = regs; + uint32_t *mepc = (uint32_t *)regs; Review comment: The same for `vector` and `irq` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org