diff --git a/tinyxml2.h b/tinyxml2.h index d5a3afd8..cdd68805 100644 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -2314,7 +2314,7 @@ class TINYXML2_LIB XMLPrinter : public XMLVisitor of the XML file in memory. (Note the size returned includes the terminating null.) */ - int CStrSize() const { + size_t CStrSize() const { return _buffer.Size(); } /**