mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
* c14n.c debugXML.c doc/examples/io2.c parser.c schematron.c
valid.c xmlschemas.c xmlwriter.c xpath.c: use %s to printf string patch by Christian Persch, fixes #581612
This commit is contained in:
@@ -34,7 +34,7 @@ main(void)
|
||||
* for demonstration purposes.
|
||||
*/
|
||||
xmlDocDumpFormatMemory(doc, &xmlbuff, &buffersize, 1);
|
||||
printf((char *) xmlbuff);
|
||||
printf("%s", (char *) xmlbuff);
|
||||
|
||||
/*
|
||||
* Free associated memory.
|
||||
|
||||
Reference in New Issue
Block a user