2005-04-26 Joel Sherrill <joel@OARcorp.com>

* network/network.c: Eliminate warnings.
This commit is contained in:
Joel Sherrill
2005-04-26 23:01:02 +00:00
parent d000bd01a5
commit 327e0fcd92
4 changed files with 15 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2005-04-26 Joel Sherrill <joel@OARcorp.com>
* network/network.c: Eliminate warnings.
2005-02-24 Jay Monkman <jtm@lopingdog.com>
PR 751/bsps

View File

@@ -180,15 +180,17 @@ int rtems_at91rm9200_emac_attach (
int mtu;
int unitnumber;
char *unitname;
void *p;
/* an array of receive buffer descriptors */
rxbuf_hdrs = (RXBUF_HDR *)&at91rm9200_emac_rxbuf_hdrs;
/* an array of receive buffer descriptors -- avoid type punned warning */
p = (void *)&at91rm9200_emac_rxbuf_hdrs;
rxbuf_hdrs = (RXBUF_HDR *)p;
/* one transmit buffer, 1536 bytes maximum */
txbuf = (char *)&at91rm9200_emac_txbuf;
txbuf = (unsigned char *)&at91rm9200_emac_txbuf;
/* receive buffers starting address */
rxbuf = (char *)&at91rm9200_emac_rxbufs;
rxbuf = (unsigned char *)&at91rm9200_emac_rxbufs;
/*
* Parse driver name
*/

View File

@@ -1,3 +1,7 @@
2005-04-26 Joel Sherrill <joel@OARcorp.com>
* network/network.c: Eliminate warnings.
2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.

View File

@@ -105,7 +105,7 @@ unsigned short cs8900_get_data_block (cs8900_device *cs, unsigned char *data)
void cs8900_tx_load (cs8900_device *cs, struct mbuf *m)
{
int len;
short *data;
unsigned short *data;
int i;
len = 0;