aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-14 12:53:59 +0100
committerMax Kellermann <max@duempel.org>2013-12-14 12:53:59 +0100
commitc7e7c819a2b76553efeae35c4449cadf642a53b3 (patch)
treeecb509d906756646f208e0a0956a4656dea45a97 /src
parentfbf677d9b2a8e46280d1f22f21c8dd051aeea987 (diff)
downloadmpd-c7e7c819a2b76553efeae35c4449cadf642a53b3.tar.gz
mpd-c7e7c819a2b76553efeae35c4449cadf642a53b3.tar.xz
mpd-c7e7c819a2b76553efeae35c4449cadf642a53b3.zip
decoder/vorbis: remove useless cast
Diffstat (limited to '')
-rw-r--r--src/decoder/VorbisComments.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/VorbisComments.cxx b/src/decoder/VorbisComments.cxx
index 5a9e6a82e..4a6cded42 100644
--- a/src/decoder/VorbisComments.cxx
+++ b/src/decoder/VorbisComments.cxx
@@ -102,7 +102,7 @@ vorbis_scan_comment(const char *comment,
const struct tag_handler *handler, void *handler_ctx)
{
if (handler->pair != nullptr) {
- char *name = g_strdup((const char*)comment);
+ char *name = g_strdup(comment);
char *value = strchr(name, '=');
if (value != nullptr && value > name) {