Fixed the string constant to char* warning by casting