Corrected removeValue signature.
authorScott Cantor <cantor.2@osu.edu>
Mon, 13 Jun 2005 01:48:31 +0000 (01:48 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 13 Jun 2005 01:48:31 +0000 (01:48 +0000)
shib/ScopedAttribute.cpp
shib/internal.h

index 78c5863..407dec1 100644 (file)
@@ -162,7 +162,7 @@ void ScopedAttribute::addValue(const XMLCh* value)
     throw SAMLException("unsupported operation");
 }
 
-void ScopedAttribute::removeValue(unsigned int index)
+void ScopedAttribute::removeValue(unsigned long index)
 {
     if (m_bOwnStrings) {
         XMLCh* p=const_cast<XMLCh*>(m_scopes[index]);
index 0433717..11f1716 100644 (file)
@@ -111,7 +111,7 @@ namespace shibboleth {
         saml::Iterator<std::string> getSingleByteValues() const;
         void setValues(const saml::Iterator<const XMLCh*>& values=EMPTY(const XMLCh*));
         void addValue(const XMLCh* value);
-        void removeValue(unsigned int index);
+        void removeValue(unsigned long index);
         
         static const XMLCh Scope[];
     protected: