From 1bd00b8a9ab59982ec80a598dba3aa2eb3ef03a2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 19 Feb 2017 19:08:06 +0100 Subject: [PATCH] output/httpd/IcyMetaDataServer: remove the int cast Why did this cast exist?? --- src/output/plugins/httpd/IcyMetaDataServer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/plugins/httpd/IcyMetaDataServer.cxx b/src/output/plugins/httpd/IcyMetaDataServer.cxx index e2fbddb85..265305cf6 100644 --- a/src/output/plugins/httpd/IcyMetaDataServer.cxx +++ b/src/output/plugins/httpd/IcyMetaDataServer.cxx @@ -68,7 +68,7 @@ icy_server_metadata_string(const char *stream_title, const char* stream_url) meta_length--; // subtract placeholder - meta_length = ((int)meta_length / 16) + 1; + meta_length = meta_length / 16 + 1; icy_metadata[0] = meta_length;