warnung: converting a string constant to 'char*'

Hi,

compiling my sketch gets a warning:

DACTest16khz:82: warning: ISO C++ forbids converting a string constant to 'char*' 
   fstat=SdPlay.setFile("ANSAGEK5.AHM");

The string constant "ANSAGEK5.AHM" is the problem.

Is it really necessary to write it so cumbersome to avoid the warning:

char txtstr[64];
strcpy(txtstr,"ANSAGEK5.AHM");
fstat=SdPlay.setFile(txtstr);

or is there a more simple way to code it?

supArdu

Make it const

or is there a more simple way to code it?

const char *fileName = "ANSAGEK5.AHM";

or

fstat=SdPlay.setFile(*const char *)"ANSAGEK5.AHM");