Fixed variable names
Type defined char to char_t