projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup for GCC-4.x
[oweals/u-boot.git]
/
drivers
/
e1000.c
diff --git
a/drivers/e1000.c
b/drivers/e1000.c
index 787134abf91f039eb8692810647cd84373eb409b..927acbb26737a20e02962f67047e192545a870a1 100644
(file)
--- a/
drivers/e1000.c
+++ b/
drivers/e1000.c
@@
-2822,7
+2822,7
@@
e1000_poll(struct eth_device *nic)
if (!(le32_to_cpu(rd->status)) & E1000_RXD_STAT_DD)
return 0;
/*DEBUGOUT("recv: packet len=%d \n", rd->length); */
- NetReceive(packet, le32_to_cpu(rd->length));
+ NetReceive(
(uchar *)
packet, le32_to_cpu(rd->length));
fill_rx(hw);
return 1;
}