Fix infinite loop bug in ShallowEqual. Fix a warning with a re-interpret cast. Up version to 1.0.4
This commit is contained in:
@@ -1242,6 +1242,8 @@ bool XMLElement::ShallowEqual( const XMLNode* compare ) const
|
||||
if ( !XMLUtil::StringEqual( a->Value(), b->Value() ) ) {
|
||||
return false;
|
||||
}
|
||||
a = a->Next();
|
||||
b = b->Next();
|
||||
}
|
||||
if ( a || b ) {
|
||||
// different count
|
||||
|
||||
Reference in New Issue
Block a user