Skip to content
Snippets Groups Projects
Commit 793471aa authored by Alberto Massari's avatar Alberto Massari
Browse files

XMLSize_t fix

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@678395 13f79535-47bb-0310-9956-ffa450edef68
parent 37afc06e
No related branches found
No related tags found
No related merge requests found
......@@ -69,11 +69,10 @@ void UnionToken::addChild(Token* const child, TokenFactory* const tokFactory) {
}
Token::tokType childType = child->getTokenType();
unsigned int childSize = child->size();
if (childType == T_CONCAT) {
for (unsigned int i = 0; i < childSize; i++) {
XMLSize_t childSize = child->size();
for (XMLSize_t i = 0; i < childSize; i++) {
addChild(child->getChild(i), tokFactory);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment