Fixing warning on const char