Skip to content

Commit

Permalink
main: reinterpret_cast since old libxml2 isn't const...
Browse files Browse the repository at this point in the history
  • Loading branch information
talisein committed May 30, 2024
1 parent c6af4fc commit 24f6017
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 @@ -187,7 +187,7 @@ namespace {

void init()
{
xmlSetStructuredErrorFunc(nullptr, _xmlStructuredErrorFunc);
xmlSetStructuredErrorFunc(nullptr, reinterpret_cast<xmlStructuredErrorFunc>(_xmlStructuredErrorFunc));
}

int main(int argc, char* argv[])
Expand Down

0 comments on commit 24f6017

Please sign in to comment.