fix compiler inconsistency
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 214dbb5..89b7913 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -2388,7 +2388,7 @@
 {

 	_parsingDepth++;

 	if (_parsingDepth == TINYXML2_MAX_ELEMENT_DEPTH) {

-		SetError(XMLError::XML_ELEMENT_DEPTH_EXCEEDED, _parseCurLineNum, "Element nesting is too deep." );

+		SetError(XML_ELEMENT_DEPTH_EXCEEDED, _parseCurLineNum, "Element nesting is too deep." );

 	}

 }