1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Closing reported bugs: 617 1591 1592, adding an HTML parser, Daniel

This commit is contained in:
Daniel Veillard
1999-07-05 16:50:46 +00:00
parent 97fea18b71
commit be70ff7162
20 changed files with 6453 additions and 40 deletions

View File

@ -570,8 +570,8 @@ xmlCreateEntitiesTable(void) {
ret = (xmlEntitiesTablePtr)
malloc(sizeof(xmlEntitiesTable));
if (ret == NULL) {
fprintf(stderr, "xmlCreateEntitiesTable : malloc(%d) failed\n",
sizeof(xmlEntitiesTable));
fprintf(stderr, "xmlCreateEntitiesTable : malloc(%ld) failed\n",
(long)sizeof(xmlEntitiesTable));
return(NULL);
}
ret->max_entities = XML_MIN_ENTITIES_TABLE;
@ -579,8 +579,8 @@ xmlCreateEntitiesTable(void) {
ret->table = (xmlEntityPtr )
malloc(ret->max_entities * sizeof(xmlEntity));
if (ret == NULL) {
fprintf(stderr, "xmlCreateEntitiesTable : malloc(%d) failed\n",
ret->max_entities * sizeof(xmlEntity));
fprintf(stderr, "xmlCreateEntitiesTable : malloc(%ld) failed\n",
ret->max_entities * (long)sizeof(xmlEntity));
free(ret);
return(NULL);
}