mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
Cleanup compiler warnings.
Patch by Greg Ungerer, 21 May 2005
This commit is contained in:
parent
2281490485
commit
611125a292
@ -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
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user