Files
MINGW-packages/mingw-w64-igraph/0002-igraph-fix-function-pointer-error.patch
T
Biswapriyo Nath cfd0520c16 igraph: update to 0.10.8
* simplify pkgconfig patch.
* fix compiler error with clang.
2023-12-01 07:20:29 +00:00

21 lines
738 B
Diff

--- 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);
}