Cleanup compiler warnings.

Patch by Greg Ungerer, 21 May 2005
This commit is contained in:
Wolfgang Denk 2006-03-12 01:23:43 +01:00
parent 2281490485
commit 611125a292
2 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
* Cleanup compiler warnings.
Patch by Greg Ungerer, 21 May 2005
* Word alignment fixes for word aligned NS16550 UART
Patch by Jean-Paul Saman, 01 Mar 2005

View File

@ -216,10 +216,10 @@ int eth_send(volatile void *packet, int len)
packet, len);
dp = &ks8695_tx[next];
memcpy((void *) dp->addr, packet, len);
memcpy((void *) dp->addr, (void *) packet, len);
if (len < 64) {
memset(dp->addr+len, 0, 64-len);
memset((void *) (dp->addr + len), 0, 64-len);
len = 64;
}