From: scantor Date: Sat, 11 Jun 2011 02:44:09 +0000 (+0000) Subject: Correct MAX limit constant. X-Git-Tag: 2.5.0~87 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=ea30a340bf0d373bf0526d5ca860f23c4fecce3c Correct MAX limit constant. git-svn-id: https://svn.shibboleth.net/cpp-opensaml/branches/REL_2@644 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/saml/SAMLConfig.cpp b/saml/SAMLConfig.cpp index 049e533..9315b01 100644 --- a/saml/SAMLConfig.cpp +++ b/saml/SAMLConfig.cpp @@ -141,7 +141,7 @@ bool SAMLInternalConfig::init(bool initXMLTooling) Lock initLock(m_lock); - if (m_initCount == LONG_MAX) { + if (m_initCount == INT_MAX) { log.crit("library initialized too many times"); return false; }