Skip to content

Commit

Permalink
Sync callback signature with libxml2 2.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jul 9, 2018
1 parent 2c43fb4 commit a820aab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ext/dom/dom_iterators.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ struct _notationIterator {
xmlNotation *notation;
};

static void itemHashScanner (void *payload, void *data, xmlChar *name) /* {{{ */
#if LIBXML_VERSION >= 20908
static void itemHashScanner (void *payload, void *data, const xmlChar *name) /* {{{ */
#else
static void itemHashScanner (void *payload, void *data, xmlChar *name)
#endif
{
nodeIterator *priv = (nodeIterator *)data;

Expand Down

0 comments on commit a820aab

Please sign in to comment.