mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC
* DOCBparser.c Makefile.am nanohttp.c parser.c testHTML.c testSAX.c xmlIO.c xmllint.c include/win32config.h include/libxml/xmlversion.h.in include/libxml/xmlwin32version.h include/libxml/xmlwin32version.h.in win32/README.MSDev win32/dsp/*: applied Win32 Facelift No.2 patches from Igor Zlatkovic for Windows/MSC Daniel
This commit is contained in:
@ -3823,7 +3823,7 @@ docbParseStartTag(docbParserCtxtPtr ctxt) {
|
||||
}
|
||||
} else if (nbatts + 4 > maxatts) {
|
||||
maxatts *= 2;
|
||||
atts = (const xmlChar **) xmlRealloc(atts, maxatts * sizeof(xmlChar *));
|
||||
atts = (const xmlChar **) xmlRealloc((void *)atts, maxatts * sizeof(xmlChar *));
|
||||
if (atts == NULL) {
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
"realloc of %ld byte failed\n",
|
||||
|
Reference in New Issue
Block a user