diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 978f3898d5..952f77c457 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -162,13 +162,13 @@ static abyss_bool http_directory_auth(TSession *r, char *domain_name) p = RequestHeaderValue(r, "authorization"); if (p) { - NextToken((const char **)&p); + NextToken((const char ** const)&p); x = GetToken(&p); if (x) { if (!strcasecmp(x, "basic")) { - NextToken((const char **)&p); + NextToken((const char ** const)&p); switch_b64_decode(p, user, sizeof(user)); if ((pass = strchr(user, ':'))) { *pass++ = '\0';