Need help, warning: ISO C++ forbids converting a string constant to 'char*'

Hi, I am new to arduino and i hope to learn, trying out this as a new hobby for myself, came across a code that is posted online and I had this warning when i tried to upload the code.
The warning code is warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

tmrpcm.play("welcome.wav");

The code i used..

void device_ready_to_work(void){

  lcd.clear();
  lcd.setCursor(2,0);
  lcd.print("your pill is");
  lcd.setCursor(2,1);
  lcd.print("ready to work");
  tmrpcm.play(*const char *)"ready.wav");
  delay(2000);
}

you just need to cast it properly

tmrpcm.play((char *)"ready.wav");

The author of the tmprpcm library declared the input parameter as a char *, not a const char * so when you pass in a string literal "ready.wav", that is a const char *, hence the warning.

The correct solution would be for the author to fix the library.

Thank you mr blh64 !