Changed u_char to char