Subject: Re: build error in icmp6.c
To: Richard Earnshaw <>
From: Todd Vierling <>
List: current-users
Date: 06/13/2000 13:32:39
On Tue, 13 Jun 2000, Richard Earnshaw wrote:

: You need to cast the char to signed before you can then sign-extend it to 
: an int.

I should have rethought this explanation:

If the numbers are casted to int when checked against ">= 64" (see
src/sys/netinet6/icmp6.c, line 1422), the "< 0" checks are unnecessary.

(This probably means I should get the Shark running again, as I'm losing
unsigned char knowledge.)

-- Todd Vierling (