mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
added few casts to shut the compiler warnings
This commit is contained in:
2
parser.c
2
parser.c
@ -254,7 +254,7 @@ namePush(xmlParserCtxtPtr 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) {
|
||||
|
Reference in New Issue
Block a user