From 241fd6224c15cf6c9a09f17dc71bf9988016ba56 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 14 Sep 2010 02:03:47 +0000 Subject: [PATCH] Add const cast for older xmlsec. --- saml/signature/ContentReference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); } } } -- 2.1.4