Fix signed/unsigned char possible problem on PowerPC. (Fixes #825)