commit | 3383bd1f4f2d37cd7b1cb0907804d4c98b75b428 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@pollux.denx.de> | Sun Mar 12 01:23:43 2006 +0100 |
committer | Wolfgang Denk <wd@pollux.denx.de> | Sun Mar 12 01:23:43 2006 +0100 |
tree | 2b9fd9eac3644d04c9cc46a868160a1742599571 | |
parent | 4b416fe0f52d454dc846b32f754430f009b82c81 [diff] [blame] |
Cleanup compiler warnings. Patch by Greg Ungerer, 21 May 2005
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 @@ 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; }