A Code Monkey's Blog

XPM and deprecated conversion error

How to get rid of this warning: deprecated conversion from string constant to `char*'

Change "char" to "const char" in the XPM file.

C++ C++