[EMAIL PROTECTED] (Larry Jones) writes:

> Yes, it is.  Unfortunately, it's also wrong.  If you have a pointer to
> char but need to treat the data it points to as unsigned char, you have
> to cast the pointer and dereference it to get the correct value on ones
> complement systems -- dereferencing and then casting doesn't work
> because -0 gets converted to +0.

OK, but gnulib assumes two's complement hosts.  This is documented in
its README.  So we needn't worry about casting the pointer before
dereferencing it here.


Reply via email to