Commit Graph

1 Commits

Author SHA1 Message Date
termux-pacman-bot
ac9a8f843d fix(main/libmusicbrainz): Fix building with current clang
Fix the following build error:
> [..]/xmlParser.cc:59:21: error: cannot initialize a variable of type 'xmlErrorPtr' (aka '_xmlError *') with an rvalue of type 'const xmlError *' (aka 'const _xmlError *')
>        xmlErrorPtr error = xmlGetLastError();
>                    ^       ~~~~~~~~~~~~~~~~~
> [..]/xmlParser.cc:74:21: error: cannot initialize a variable of type 'xmlErrorPtr' (aka '_xmlError *') with an rvalue of type 'const xmlError *' (aka 'const _xmlError *')
>        xmlErrorPtr error = xmlGetLastError();
2024-05-16 20:37:11 +00:00