using signed char instead of plain char, as suggested by alex.
Sorry for breaking and not dealing with this issue. I did not notice it and since these
are my first commits, I am not used to the general workflow.
I hope this fixes the issue and can be commited fast.