From 18d8e7922aa5fb8c3cea481c13175b2cd3d400ea Mon Sep 17 00:00:00 2001 From: Venkata Naga Sai Krishna Kolapalli Date: Tue, 16 Dec 2014 16:35:07 +0530 Subject: [PATCH] uartps : xuartps_intr_example.c was modified to fix compiler warnings. This patch modifies uartps example for fixing compiler warnings. Signed-off-by: Venkata Naga Sai Krishna Kolapalli --- .../drivers/uartps/examples/xuartps_intr_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XilinxProcessorIPLib/drivers/uartps/examples/xuartps_intr_example.c b/XilinxProcessorIPLib/drivers/uartps/examples/xuartps_intr_example.c index 20bb8423..131b1b5e 100755 --- a/XilinxProcessorIPLib/drivers/uartps/examples/xuartps_intr_example.c +++ b/XilinxProcessorIPLib/drivers/uartps/examples/xuartps_intr_example.c @@ -228,7 +228,7 @@ int UartPsIntrExample(XScuGic *IntcInstPtr, XUartPs *UartInstPtr, * a pointer to the UART driver instance as the callback reference * so the handlers are able to access the instance data */ - XUartPs_SetHandler(UartInstPtr, Handler, UartInstPtr); + XUartPs_SetHandler(UartInstPtr, (XUartPs_Handler)Handler, UartInstPtr); /* * Enable the interrupt of the UART so interrupts will occur, setup