I suspect that there are several bugs at work here. Some that make it crash with unsigned and some that make it work with signed, even though it was not supposed to. (As I discussed above, some parts of the code seem to expect unsigned chars.)
Unfortunately I can't see any simple solution to this.
I suspect that there are several bugs at work here. Some that make it crash with unsigned and some that make it work with signed, even though it was not supposed to. (As I discussed above, some parts of the code seem to expect unsigned chars.)
Unfortunately I can't see any simple solution to this.