Author: scantor
Date: Sat Feb 28 00:56:55 2015
New Revision: 1662870

URL: http://svn.apache.org/r1662870
Log:
XERCESC-1994

Modified:
    
xerces/c/branches/xerces-3.1/src/xercesc/validators/common/ContentSpecNode.cpp

Modified: 
xerces/c/branches/xerces-3.1/src/xercesc/validators/common/ContentSpecNode.cpp
URL: 
http://svn.apache.org/viewvc/xerces/c/branches/xerces-3.1/src/xercesc/validators/common/ContentSpecNode.cpp?rev=1662870&r1=1662869&r2=1662870&view=diff
==============================================================================
--- 
xerces/c/branches/xerces-3.1/src/xercesc/validators/common/ContentSpecNode.cpp 
(original)
+++ 
xerces/c/branches/xerces-3.1/src/xercesc/validators/common/ContentSpecNode.cpp 
Sat Feb 28 00:56:55 2015
@@ -259,7 +259,7 @@ int ContentSpecNode::getMaxTotalRange()
             else {
 
                 if ((fType & 0x0f) == ContentSpecNode::Choice) {
-                    max = max * (maxFirst > maxSecond) ? maxFirst : maxSecond;
+                    max = max * ((maxFirst > maxSecond) ? maxFirst : 
maxSecond);
                 }
                 else {
                     max = max * (maxFirst + maxSecond);



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to