Change char to char array buffer.