diff options
author | Stefan Roese <sr@denx.de> | 2006-01-18 20:06:44 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-01-18 20:06:44 +0100 |
commit | 18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f (patch) | |
tree | 067552321aa96b1294757a4a8a39f329c1e64047 /board/xilinx/xilinx_enet | |
parent | a7b9fb9110e3c0be644b3e2c8f397f606138a710 (diff) | |
download | u-boot-imx-18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f.zip u-boot-imx-18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f.tar.gz u-boot-imx-18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f.tar.bz2 |
Fix various compiler warnings on ppc4xx builds (ELDK 4.0)
Patch by Stefan Roese, 18 Jan 2006
Diffstat (limited to 'board/xilinx/xilinx_enet')
-rw-r--r-- | board/xilinx/xilinx_enet/emac_adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/xilinx_enet/emac_adapter.c b/board/xilinx/xilinx_enet/emac_adapter.c index 1076345..5c492eb 100644 --- a/board/xilinx/xilinx_enet/emac_adapter.c +++ b/board/xilinx/xilinx_enet/emac_adapter.c @@ -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); |