1
0
mirror of https://github.com/leethomason/tinyxml2.git synced 2026-07-21 19:23:00 +04:00

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
+1 -1
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.