Fix invalid conversion from const char* to char*