Fix unsigned char warnings