提交 611125a2 编写于 作者: W Wolfgang Denk

Cleanup compiler warnings.

Patch by Greg Ungerer, 21 May 2005
上级 22814904
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册