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

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