From: Scott Cantor Date: Tue, 14 Sep 2010 02:03:47 +0000 (+0000) Subject: Add const cast for older xmlsec. X-Git-Tag: 2.4RC1~33 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=241fd6224c15cf6c9a09f17dc71bf9988016ba56 Add const cast for older xmlsec. --- diff --git a/saml/signature/ContentReference.cpp b/saml/signature/ContentReference.cpp index 127dbbd..a40fbc6 100644 --- a/saml/signature/ContentReference.cpp +++ b/saml/signature/ContentReference.cpp @@ -96,7 +96,7 @@ void ContentReference::createReferences(DSIGSignature* sig) } if (!prefixes.empty()) { prefixes.erase(prefixes.begin() + prefixes.size() - 1); - c14n->setInclusiveNamespaces(prefixes.c_str()); + c14n->setInclusiveNamespaces(const_cast(prefixes.c_str())); } } }