From: Francesco Chemolli Date: Tue, 4 Feb 2014 19:55:16 +0000 (+0100) Subject: Changed c-style cast to const_cast in esi/CustomParser.cc X-Git-Tag: SQUID_3_5_0_1~379^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ba85b46f458cbb598537716181cdaeb1d41635b;p=thirdparty%2Fsquid.git Changed c-style cast to const_cast in esi/CustomParser.cc --- 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) == '/')