Skip to content

Commit

Permalink
Fix: add const for libxml2 2.12.0 API change
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and bjoernricks committed Jan 3, 2025
1 parent 1b64974 commit 7fe8628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/xmlutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -3030,7 +3030,7 @@ xml_file_iterator_next (xml_file_iterator_t iterator, gchar **error)
{
if (error)
{
xmlErrorPtr xml_error;
const xmlError *xml_error;
xml_error = xmlCtxtGetLastError (iterator->parser_ctxt);
*error = g_strdup_printf ("error parsing XML"
" (line %d column %d): %s",
Expand Down

0 comments on commit 7fe8628

Please sign in to comment.