--- a/src/io/graphml.c +++ b/src/io/graphml.c @@ -344,7 +344,7 @@ } static void igraph_i_graphml_parser_state_set_error_from_xmlerror( - struct igraph_i_graphml_parser_state *state, const xmlErrorPtr error + struct igraph_i_graphml_parser_state *state, const xmlError *error ) { const size_t max_error_message_length = 4096; @@ -1530,7 +1530,7 @@ va_end(args); } -static void igraph_i_libxml_structured_error_handler(void* ctx, xmlErrorPtr error) { +static void igraph_i_libxml_structured_error_handler(void* ctx, const xmlError *error) { struct igraph_i_graphml_parser_state* state = (struct igraph_i_graphml_parser_state*) ctx; igraph_i_graphml_parser_state_set_error_from_xmlerror(state, error); }