From 1b9364f949b9df52f82bec1204492a8c6868940e Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Sun, 27 Sep 2009 04:13:55 +0000 Subject: [PATCH] Missed a Xerces size change. --- saml/saml2/metadata/impl/MetadataImpl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.1.4