Skip to content

Commit

Permalink
Fix const correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
talisein committed Jan 10, 2024
1 parent f93799f commit a431f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void do_dump()

namespace {
extern "C" {
void _xmlStructuredErrorFunc (void *, xmlErrorPtr error)
void _xmlStructuredErrorFunc (void *, const xmlErrorPtr error)
{
switch (error->level) {
case XML_ERR_NONE:
Expand Down

0 comments on commit a431f5a

Please sign in to comment.