warning: deprecated conversion from string constant to char*
Right now I'm programming a game in C++/Qt, I'm getting a warning that I don't undertstand. Below is the error I'm getting
Ghost.cpp:62: warning: deprecated conversion from string constant to 'char*'
I'm getting a string of these warning messages.
at line 62 I have the below code.
char *ghostEyesDown2 = "eyesDown2.png";
The program compiles however I would like to remove this error but I have no idea what's wrong with this statement. If anybody could help it would be appreciated.