From c7e7c819a2b76553efeae35c4449cadf642a53b3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 14 Dec 2013 12:53:59 +0100 Subject: decoder/vorbis: remove useless cast --- src/decoder/VorbisComments.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3