> I just came to the gcc option -funsigned-char. We may use it and
> remove the casts to the libc functions.
I don't believe that would solve anything really, because we are
still trying to collapse two different types (regardless of its
machine representation) in one. The same would happen with 'int'
(for which we do have differentiated its signess).
Well, what we need is to operate on unsigned chars (values 0 -
255). The problem is to have to cast the (char *) arguments in systems
where char is signed by default.