From ea30a340bf0d373bf0526d5ca860f23c4fecce3c Mon Sep 17 00:00:00 2001 From: scantor Date: Sat, 11 Jun 2011 02:44:09 +0000 Subject: [PATCH] Correct MAX limit constant. git-svn-id: https://svn.shibboleth.net/cpp-opensaml/branches/REL_2@644 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- saml/SAMLConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.1.4