Changed: Display line number instead of a pointer on a string

This commit is contained in:
kervala 2016-12-11 11:59:10 +01:00
parent 93fa57d25c
commit 42497fed77

View file

@ -63,7 +63,7 @@ void XMLError (xmlNodePtr xmlNode, const std::string &filename, const char *form
vsnprintf( buffer, 1024, format, args ); vsnprintf( buffer, 1024, format, args );
va_end( args ); va_end( args );
Error (filename, "node (%s), line (%p) : %s", xmlNode->name, xmlNode->content, buffer); Error (filename, "node (%s), line (%d) : %s", xmlNode->name, xmlNode->line, buffer);
} }