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

Fixes #825