1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

added few casts to shut the compiler warnings

This commit is contained in:
Igor Zlatkovic
2003-08-28 10:34:33 +00:00
parent a6ceeb412e
commit d37c1394a7
5 changed files with 10 additions and 5 deletions

View File

@ -78,7 +78,7 @@ htmlnamePush(htmlParserCtxtPtr ctxt, const xmlChar * value)
if (ctxt->nameNr >= ctxt->nameMax) {
ctxt->nameMax *= 2;
ctxt->nameTab = (const xmlChar * *)
xmlRealloc(ctxt->nameTab,
xmlRealloc((xmlChar * *)ctxt->nameTab,
ctxt->nameMax *
sizeof(ctxt->nameTab[0]));
if (ctxt->nameTab == NULL) {