X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibsp%2Fhandler%2Fimpl%2FShib1SessionInitiator.cpp;h=6d2152fd27418cebdbec9a724475cc494e4cebf2;hb=83a02e10dec5f273b3ae0042bfc35470cc664a24;hp=f370e776fe76adb6a16ee69a32113d23e4480ea0;hpb=9034cccd58058fb67d0d777fa743ad1cf474cd35;p=shibboleth%2Fsp.git diff --git a/shibsp/handler/impl/Shib1SessionInitiator.cpp b/shibsp/handler/impl/Shib1SessionInitiator.cpp index f370e77..6d2152f 100644 --- a/shibsp/handler/impl/Shib1SessionInitiator.cpp +++ b/shibsp/handler/impl/Shib1SessionInitiator.cpp @@ -107,7 +107,7 @@ pair Shib1SessionInitiator::run(SPRequest& request, const char* entit { // We have to know the IdP to function. if (!entityID || !*entityID) - return make_pair(false,0); + return make_pair(false,0L); string target; const Handler* ACS=NULL; @@ -232,14 +232,14 @@ pair Shib1SessionInitiator::doRequest( } else if (!entity.second) { m_log.error("unable to locate Shibboleth-aware identity provider role for provider (%s)", entityID); - return make_pair(false,0); + return make_pair(false,0L); } const EndpointType* ep=EndpointManager( dynamic_cast(entity.second)->getSingleSignOnServices() ).getByBinding(shibspconstants::SHIB1_AUTHNREQUEST_PROFILE_URI); if (!ep) { m_log.error("unable to locate compatible SSO service for provider (%s)", entityID); - return make_pair(false,0); + return make_pair(false,0L); } preserveRelayState(app, httpResponse, relayState); @@ -258,6 +258,6 @@ pair Shib1SessionInitiator::doRequest( return make_pair(true, httpResponse.sendRedirect(req.c_str())); #else - return make_pair(false,0); + return make_pair(false,0L); #endif }