summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2013-01-08 11:58:41 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2013-01-08 12:37:19 -0600
commit4fd1ccaa3c7f32b16b8512154e8c5187de382a85 (patch)
treed90e80219ff2f6b46c723986df88467b22669b9e
parentno_bsp: Fix typo and format (diff)
downloadrtems-4fd1ccaa3c7f32b16b8512154e8c5187de382a85.tar.bz2
leon3: Open Ethernet Fixed Warning
-rw-r--r--c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c b/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c
index 963264edab..f8e700cf4b 100644
--- a/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c
+++ b/c/src/lib/libbsp/sparc/leon3/leon_open_eth/leon_open_eth.c
@@ -54,7 +54,7 @@ int rtems_leon_open_eth_driver_attach(
*(volatile int *) base_addr = 0;
*(volatile int *) base_addr = 0x800;
*(volatile int *) base_addr = 0;
- leon_open_eth_configuration.base_address = base_addr;
+ leon_open_eth_configuration.base_address = (void *) base_addr;
leon_open_eth_configuration.vector = eth_irq + 0x10;
leon_open_eth_configuration.txd_count = TDA_COUNT;
leon_open_eth_configuration.rxd_count = RDA_COUNT;