From 09390e70055de2df314c827fda6ab376f2f64a8b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 26 May 2008 18:11:00 +0000 Subject: [PATCH] tweak for picky compiler git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8671 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';