[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small patch for libicmp/icmp_cksum.c
From: |
Paul Jarc |
Subject: |
Re: Small patch for libicmp/icmp_cksum.c |
Date: |
Wed, 04 Dec 2002 17:11:32 -0500 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) |
address@hidden wrote:
>> (And the cast is also unnecessary, since it is implicit because of
>> the function's return type.)
>
> The cast is needed, because the function should return a signed
> result between 0 and 0xffff,
The function's return type is u_short (i.e., *unsigned* short).
paul