From: Scott Cantor Date: Sun, 27 Sep 2009 04:13:55 +0000 (+0000) Subject: Missed a Xerces size change. X-Git-Tag: 2.3~27 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=1b9364f949b9df52f82bec1204492a8c6868940e Missed a Xerces size change. --- diff --git a/saml/saml2/metadata/impl/MetadataImpl.cpp b/saml/saml2/metadata/impl/MetadataImpl.cpp index ae0ce08..9ebad0f 100644 --- a/saml/saml2/metadata/impl/MetadataImpl.cpp +++ b/saml/saml2/metadata/impl/MetadataImpl.cpp @@ -33,6 +33,7 @@ #include #include +#include using namespace samlconstants; using namespace opensaml::saml2md; @@ -1002,8 +1003,8 @@ namespace opensaml { return true; if (m_ProtocolSupportEnumeration) { // Look for first character. - unsigned int len=XMLString::stringLen(protocol); - unsigned int pos=0; + xsecsize_t len=XMLString::stringLen(protocol); + xsecsize_t pos=0; int index=XMLString::indexOf(m_ProtocolSupportEnumeration,protocol[0],pos); while (index>=0) { // Only possible match is if it's the first character or a space comes before it.