bsps/powerpc/include/bsp/VMEDMA.h: Address cast-function-type warning

This warning occurs when casting a function pointer to be a function
of a different type.
This commit is contained in:
Joel Sherrill
2026-02-09 16:59:41 -06:00
parent fa81397286
commit c893731d11
+1 -1
View File
@@ -200,7 +200,7 @@ BSP_VMEDmaStatus(int channel);
* RETURNS: 0 on success, nonzero on failure (IRQ in use, unsupported
* channel).
*/
typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg, uint32_t vector);
typedef void (*BSP_VMEDmaIRQCallback)(void *usr_arg, uintptr_t vector);
int
BSP_VMEDmaInstallISR(int channel, BSP_VMEDmaIRQCallback cb, void *usr_arg);