Change pointer to char*