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 <venkatan@xilinx.com>
This commit is contained in:
Venkata Naga Sai Krishna Kolapalli 2014-12-16 16:35:07 +05:30 committed by Nava kishore Manne
parent 874a26d2fb
commit 18d8e7922a

View file

@ -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