Fix various compiler warnings on ppc4xx builds (ELDK 4.0)
[platform/kernel/u-boot.git] / board / xilinx / xilinx_enet / emac_adapter.c
index 1076345..5c492eb 100644 (file)
@@ -148,7 +148,7 @@ eth_rx(void)
        RecvFrameLength = PKTSIZE;
        Result = XEmac_PollRecv(&Emac, (u8 *) etherrxbuff, &RecvFrameLength);
        if (Result == XST_SUCCESS) {
-               NetReceive((uchar)etherrxbuff, RecvFrameLength);
+               NetReceive((uchar *)etherrxbuff, RecvFrameLength);
                return (1);
        } else {
                return (0);