diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 9d6be5c..c74950f 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -2397,6 +2397,13 @@ void XMLPrinter::PushText( const char* text, bool cdata ) } } +void XMLPrinter::PushText( int64_t value ) +{ + char buf[BUF_SIZE]; + XMLUtil::ToStr( value, buf, BUF_SIZE ); + PushText( buf, false ); +} + void XMLPrinter::PushText( int value ) { char buf[BUF_SIZE];