Hi Gerel.

   I just tried to change pdf_char_t to be 'char' and there are some
   serious warnings that tell me we shouldn't do it (I marked the most
   problematic with 3 asterisks)

   [...]

   You may think of doing some more casts but then... are we solving anything ?
   (sort of an endless problem)

I just came to the gcc option -funsigned-char. We may use it and
remove the casts to the libc functions. 

Alternatively we could left the existing casts. I agree with you in
that making pdf_char_t a synonim of char would require more casts in
the code that assumes that a char contains a code between 0 and 255.

What do you think about it?



Reply via email to