[shibboleth-sp2] 77/89: Add nullptr cast

Ferenc Wágner wferi at moszumanska.debian.org
Thu Sep 1 09:24:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi pushed a commit to branch master
in repository shibboleth-sp2.

commit 51310e1364472327123dd5358e6e9e5d5ee3d1dd
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Fri Jun 24 14:29:10 2016 -0400

    Add nullptr cast
---
 shibsp/attribute/filtering/impl/XMLAttributeFilter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shibsp/attribute/filtering/impl/XMLAttributeFilter.cpp b/shibsp/attribute/filtering/impl/XMLAttributeFilter.cpp
index a92e1f2..04eee1a 100644
--- a/shibsp/attribute/filtering/impl/XMLAttributeFilter.cpp
+++ b/shibsp/attribute/filtering/impl/XMLAttributeFilter.cpp
@@ -290,7 +290,7 @@ boost::tuple<string,const MatchFunctor*,const MatchFunctor*> XMLFilterImpl::buil
 
     if (XMLHelper::getAttrBool(e, false, permitAny)) {
         m_log.debug("installing implicit ANY permit rule for attribute (%s)", attrID.c_str());
-        perm = SPConfig::getConfig().MatchFunctorManager.newPlugin(AnyMatchFunctorType, make_pair(&permMap,nullptr));
+        perm = SPConfig::getConfig().MatchFunctorManager.newPlugin(AnyMatchFunctorType, make_pair(&permMap,(const DOMElement*)nullptr));
         return boost::make_tuple(attrID, perm, deny);
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list