summaryrefslogtreecommitdiffstats
path: root/board/xilinx/xilinx_enet
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/xilinx_enet
parenta7b9fb9110e3c0be644b3e2c8f397f606138a710 (diff)
downloadtalos-obmc-uboot-18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f.tar.gz
talos-obmc-uboot-18c5e64c5b0f21f0824bf4f0a8ab0f942652ee7f.zip
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.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 1076345752..5c492ebbc0 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);
OpenPOWER on IntegriCloud