Subject: Re: build error in icmp6.c
To: None <itojun@iijlab.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 06/13/2000 08:44:42
On Tue, Jun 13, 2000 at 11:42:05PM +0900, itojun@iijlab.net wrote:

 > 	how can I suppress the warning in this case?  it looks that macppc
 > 	treats char as unsigned char, while for i386 char is signed.
 > 	if the char is signed, I really need to check for negative numbers. 

The signed-ness of `char' is machine-dependent.  Of our current platforms,
PowerPC and ARM are `unsigned char is the default'.  Portable code cannot
assume that `char' is signed.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>