diff options
author | Max Kellermann <max@duempel.org> | 2008-04-12 04:06:45 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-04-12 04:06:45 +0000 |
commit | c011ab810549394e407de215554236dfae9f8a26 (patch) | |
tree | 2316332eaa1596fdedd7fb0ca60e2604988fa21f /src/volume.h | |
parent | 51f5bf932c2cf4d6aafb62fa2859881efd6a86fc (diff) | |
download | mpd-c011ab810549394e407de215554236dfae9f8a26.tar.gz mpd-c011ab810549394e407de215554236dfae9f8a26.tar.xz mpd-c011ab810549394e407de215554236dfae9f8a26.zip |
deconstify input buffer for iconv()
Unfortunately, the function iconv() wants a non-const input buffer.
In this context, we only have a const pointer, which emits a correct
gcc warning. Work around this ugliness with an union-deconst hack.
This is optimized away in the binary.
git-svn-id: https://svn.musicpd.org/mpd/trunk@7229 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/volume.h')
0 files changed, 0 insertions, 0 deletions