Merge pull request #753 from orbitcowboy/master

Fixed -Wold-style-cast warnings from g++.
This commit is contained in:
Lee Thomason
2019-08-10 17:53:39 -07:00
committed by GitHub
2 changed files with 18 additions and 18 deletions

View File

@@ -1722,7 +1722,7 @@ public:
specified, TinyXML-2 will assume 'xml' points to a
null terminated string.
*/
XMLError Parse( const char* xml, size_t nBytes=(size_t)(-1) );
XMLError Parse( const char* xml, size_t nBytes=static_cast<size_t>(-1) );
/**
Load an XML file from disk.