[xmltooling] 05/14: Correct MAX limit constant.

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Dec 10 22:10:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to annotated tag 1.4.2
in repository xmltooling.

commit 8d59cb27d71bc8d3fa5d474920b5a1e2c2b31fdf
Author: Scott Cantor <cantor.2 at osu.edu>
Date:   Sat Jun 11 02:43:01 2011 +0000

    Correct MAX limit constant.
---
 xmltooling/XMLToolingConfig.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xmltooling/XMLToolingConfig.cpp b/xmltooling/XMLToolingConfig.cpp
index 62a7326..e8a8997 100644
--- a/xmltooling/XMLToolingConfig.cpp
+++ b/xmltooling/XMLToolingConfig.cpp
@@ -367,7 +367,7 @@ bool XMLToolingInternalConfig::init()
 
     Lock initLock(m_lock);
 
-    if (m_initCount == LONG_MAX) {
+    if (m_initCount == INT_MAX) {
         log.crit("library initialized too many times");
         return false;
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git



More information about the Pkg-shibboleth-devel mailing list