Fixed unsigned char bug in bitfield