diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 01:23:43 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-03-12 01:23:43 +0100 |
commit | 611125a2925632c3281885e02836725ac1f6d8b0 (patch) | |
tree | 2b9fd9eac3644d04c9cc46a868160a1742599571 /drivers/ks8695eth.c | |
parent | 2281490485ef2c76f93bf37a5014f5e630d5a3d0 (diff) | |
download | u-boot-imx-611125a2925632c3281885e02836725ac1f6d8b0.zip u-boot-imx-611125a2925632c3281885e02836725ac1f6d8b0.tar.gz u-boot-imx-611125a2925632c3281885e02836725ac1f6d8b0.tar.bz2 |
Cleanup compiler warnings.
Patch by Greg Ungerer, 21 May 2005
Diffstat (limited to 'drivers/ks8695eth.c')
-rw-r--r-- | drivers/ks8695eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ks8695eth.c b/drivers/ks8695eth.c index a4b03ae..a1bec1c 100644 --- a/drivers/ks8695eth.c +++ b/drivers/ks8695eth.c @@ -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; } |