fix warning: deprecated conversion from string constant to ‘char*’