Files
xmlcopyeditor/xmlcopyeditor-1.3.1.0-libxml2-const-error.patch

21 lines
462 B
Diff

--- a/src/wraplibxml.cpp
+++ b/src/wraplibxml.cpp
@@ -706,7 +706,7 @@
wxString WrapLibxml::getLastError()
{
- xmlErrorPtr err = xmlGetLastError();
+ const xmlError *err = xmlGetLastError();
if ( !err )
return nonParserError;
@@ -722,7 +722,7 @@
std::pair<int, int> WrapLibxml::getErrorPosition()
{
- xmlErrorPtr err = xmlGetLastError();
+ const xmlError *err = xmlGetLastError();
if ( !err )
return std::make_pair ( 1, 1 );