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:
2
parser.c
2
parser.c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user