aboutsummaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorStefan Roese2005-08-31 12:55:50 +0200
committerStefan Roese2005-08-31 12:55:50 +0200
commit9d2a873bdf72a7c615c9c7ac55357085d0299716 (patch)
tree6aab5d3254576cc613e1f044399137aba48cab41 /net/net.c
parent77f6580cc078fea22c2b1348f5b177edcd63885f (diff)
Add I2C support to TQM8540 and TQM8560 boards (EEPROM, RTC, LM75-DTT).
Removed CFG_CMD_DISPLAY from default commands. Fixed compiler warning in net.c. Patch by Stefan Roese, 31 Aug 2005
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index d13ae74cd14..11b770004b1 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1574,7 +1574,7 @@ unsigned
NetCksum(uchar * ptr, int len)
{
ulong xsum;
- ushort *p = ptr;
+ ushort *p = (ushort *)ptr;
xsum = 0;
while (len-- > 0)