uchar or int? C is a bad guy sometimes