mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
removed multiple warning, this fixed a bug and should close #111574 Daniel
* DOCBparser.c catalog.c parser.c relaxng.c: removed multiple warning, this fixed a bug and should close #111574 Daniel
This commit is contained in:
2
parser.c
2
parser.c
@ -10751,7 +10751,7 @@ xmlSetupParserForBuffer(xmlParserCtxtPtr ctxt, const xmlChar* buffer,
|
||||
|
||||
xmlClearParserCtxt(ctxt);
|
||||
if (filename != NULL)
|
||||
input->filename = xmlCanonicPath(filename);
|
||||
input->filename = (char *) xmlCanonicPath((const xmlChar *)filename);
|
||||
input->base = buffer;
|
||||
input->cur = buffer;
|
||||
input->end = &buffer[xmlStrlen(buffer)];
|
||||
|
Reference in New Issue
Block a user