Fixed -Wold-style-cast warnings from g++.

This commit is contained in:
orbitcowboy
2019-05-16 15:30:47 +02:00
parent 61a4c7d507
commit 710a3324f4
2 changed files with 18 additions and 18 deletions

View File

@@ -1684,7 +1684,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.