wmcdplay: Fix -Wwrite-string compiler warnings.
commit7959aa4cda19e10a4ae991999898c5974a118c9e
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Thu, 18 Dec 2014 18:30:49 +0000 (18 12:30 -0600)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 18 Dec 2014 18:43:10 +0000 (18 18:43 +0000)
tree716b0fc0f475c6df020e83bd3ff790d36bf33166
parent1b1afe2d374a0d3fb19d8c8927ae91f6f95c2585
wmcdplay: Fix -Wwrite-string compiler warnings.

Previously, compiling wmcdplay caused a large number of warnings of the form
"deprecated conversion from string constant to ‘char*’".  This was fixed by
changing "char *" declarations to "const char *", especially in the .xpm files,
and using "const_cast" as needed when an external library expected a non-const.
23 files changed:
wmcdplay/ARTWORK
wmcdplay/XPM/bluered/cdplayer.xpm
wmcdplay/XPM/bluered/led.xpm
wmcdplay/XPM/bluered/ledsym.xpm
wmcdplay/XPM/bluered/ledtsel.xpm
wmcdplay/XPM/bluered/symbols.xpm
wmcdplay/XPM/grey/cdplayer.xpm
wmcdplay/XPM/grey/led.xpm
wmcdplay/XPM/grey/ledsym.xpm
wmcdplay/XPM/grey/ledtsel.xpm
wmcdplay/XPM/grey/symbols.xpm
wmcdplay/XPM/newstyle/cdplayer.xpm
wmcdplay/XPM/newstyle/led.xpm
wmcdplay/XPM/newstyle/ledsym.xpm
wmcdplay/XPM/newstyle/ledtsel.xpm
wmcdplay/XPM/newstyle/symbols.xpm
wmcdplay/XPM/tile.xpm
wmcdplay/XPM/wmcd/cdplayer.xpm
wmcdplay/XPM/wmcd/led.xpm
wmcdplay/XPM/wmcd/ledsym.xpm
wmcdplay/XPM/wmcd/ledtsel.xpm
wmcdplay/XPM/wmcd/symbols.xpm
wmcdplay/wmcdplay.cc