On Wed, 27 Jan 1999, Archie Cobbs wrote:
> Alfred Perlstein writes:
> > avoids a warning.
>
> No it doesn't. The "(unsigned char)" avoids the warning:
>
> $ cat > foo.c
> int foo(int *array, unsigned char index) { return array[index]; }
> $ gcc -c -Wall -o foo foo.c
> $doh' yes, it is when you use a signed char that i've had warnings. -Alfred To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-current" in the body of the message
