Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 17:21:16 +0100
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: unsigned char portability
Message-ID:  <20020131162116.GB1512@raggedclown.net>
In-Reply-To: <F74DyNdauuNi4kysRWz00010abe@hotmail.com>
References:  <F74DyNdauuNi4kysRWz00010abe@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 31, 2002 at 02:47:47PM +0000, June Carey wrote:
> Hi,
> 
> I have a question I was hoping someone could answer.
> Does the "unsigned char" C type have any machine architecture portability 
> problems ?

If you explicitly "unsign" it no I believe not..as long as you don't
play silly buggers with it inside a struct.

The signedness of a plain char is architecture/compiler dependent.
Which is a pain in the a*se.

-- 
Regards
Cliff



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020131162116.GB1512>