From 5ba85b46f458cbb598537716181cdaeb1d41635b Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Tue, 4 Feb 2014 20:55:16 +0100 Subject: [PATCH] Changed c-style cast to const_cast in esi/CustomParser.cc --- src/esi/CustomParser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esi/CustomParser.cc b/src/esi/CustomParser.cc index a384c668cd..7c29d86ba0 100644 --- a/src/esi/CustomParser.cc +++ b/src/esi/CustomParser.cc @@ -205,7 +205,7 @@ ESICustomParser::parse(char const *dataToParse, size_t const lengthOfData, bool attribute = end + 1; } - theClient->start (tag + 1, (const char **)attributes.data(), attributes.size() >> 1); + theClient->start (tag + 1, const_cast(attributes.data()), attributes.size() >> 1); /* TODO: attributes */ if (*(tagEnd - 1) == '/') -- 2.47.3