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

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-11 11:59:10 +01:00
parent 10f7abb26f
commit 62d4d8ccc0

View file

@ -63,7 +63,7 @@ void XMLError (xmlNodePtr xmlNode, const std::string &filename, const char *form
vsnprintf( buffer, 1024, format, 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);
}