Fixing deprecated conversion from string constant to char* warning message