summaryrefslogtreecommitdiff
path: root/board/xilinx
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-01-18 20:06:44 +0100
committerStefan Roese <sr@denx.de>2006-01-18 20:06:44 +0100
commit18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f (patch)
tree067552321aa96b1294757a4a8a39f329c1e64047 /board/xilinx
parenta7b9fb9110e3c0be644b3e2c8f397f606138a710 (diff)
downloadu-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')
-rw-r--r--board/xilinx/xilinx_enet/emac_adapter.c2
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);