summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-09-03 01:58:35 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-09-03 01:58:35 +0200
commit6d51e505adfef794b72df128a21d4e4b39f80c8b (patch)
treec934432de88e86ed0adc9e9c33900f68d3892284 /net
parent7b3e3c595464939d177c1678c324ef9e3b8e2a08 (diff)
downloadu-boot-imx-6d51e505adfef794b72df128a21d4e4b39f80c8b.zip
u-boot-imx-6d51e505adfef794b72df128a21d4e4b39f80c8b.tar.gz
u-boot-imx-6d51e505adfef794b72df128a21d4e4b39f80c8b.tar.bz2
Cleanup compiler warnings.
Diffstat (limited to 'net')
-rw-r--r--net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/net.c b/net/net.c
index d13ae74..53e7449 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)