1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

avoid a warning on 64bits introduced earlier make more checking on the

* parser.c: avoid a warning on 64bits introduced earlier
* parserInternals.c: make more checking on the UTF-8 input
Daniel

svn path=/trunk/; revision=3676
This commit is contained in:
Daniel Veillard
2008-01-11 08:00:57 +00:00
parent c5b43cc03a
commit b3edafd72d
3 changed files with 20 additions and 3 deletions

View File

@@ -994,7 +994,7 @@ xmlCleanSpecialAttrCallback(void *payload, void *data,
const xmlChar *unused ATTRIBUTE_UNUSED) {
xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) data;
if (((int) payload) == XML_ATTRIBUTE_CDATA) {
if (((long) payload) == XML_ATTRIBUTE_CDATA) {
xmlHashRemoveEntry2(ctxt->attsSpecial, fullname, fullattr, NULL);
}
}