diff options
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1574,7 +1574,7 @@ unsigned NetCksum(uchar * ptr, int len) { ulong xsum; - ushort *p = ptr; + ushort *p = (ushort *)ptr; xsum = 0; while (len-- > 0) |