diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 2 |
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) |