diff --git a/tinyxml2.cpp b/tinyxml2.cpp index e6bb328..cb68ce1 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -646,7 +646,7 @@ XMLNode::~XMLNode() const char* XMLNode::Value() const { if ( this->ToDocument() ) - return ( const char* )0; + return 0; return _value.GetStr(); }