Fixed invalid `const char *` -> `char *` casting.