diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 19:14:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 19:14:39 +0200 |
commit | 4dd9d4b2fdfb6adde66920d4fd1bb65a1cf0695a (patch) | |
tree | fe980e309ed81201e44f612968d4bf04825bf36f /doc | |
parent | b67bb05d05aef568a2614943625386a8cd67690d (diff) | |
download | mpd-4dd9d4b2fdfb6adde66920d4fd1bb65a1cf0695a.tar.gz mpd-4dd9d4b2fdfb6adde66920d4fd1bb65a1cf0695a.tar.xz mpd-4dd9d4b2fdfb6adde66920d4fd1bb65a1cf0695a.zip |
fix -Wcast-qual -Wwrite-strings warnings
The previous patch enabled these warnings. In Eric's branch, they
were worked around with a generic deconst_ptr() function. There are
several places where we can add "const" to pointers, and in others,
libraries want non-const strings. In the latter, convert string
literals to "static char[]" variables - this takes the same space, and
seems safer than deconsting a string literal.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions