Fix 'const char*' to 'char*' error