Subject: Re: `char -> unsigned char'
To: Don Lewis <Don.Lewis@tsc.tdk.com>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 12/22/1998 04:29:05
On Dec 21,  3:00pm, Don.Lewis@tsc.tdk.com (Don Lewis) wrote:
-- Subject: Re: `char -> unsigned char'

| Yeah, but you can pick the method that requires the fewest casts.  Also,
| passing an unsigned char * to the <strings.h> functions on a machine where
| char is signed is probably benign, unlike passing a char that happens to
| be signed to a <ctype.h> function that doesn't go beyond the ANSI requirements.
| You'll probably still get bitten by the second argument to strchr(), etc.

And also lint bitches about incompatible pointer type...

christos