diff options
Diffstat (limited to 'libgcobol/xmlparse.cc')
| -rw-r--r-- | libgcobol/xmlparse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcobol/xmlparse.cc b/libgcobol/xmlparse.cc index 69849e3..57d370a 100644 --- a/libgcobol/xmlparse.cc +++ b/libgcobol/xmlparse.cc @@ -582,7 +582,7 @@ __gg__xml_parse( const cblc_field_t *input_field, int erc = xmlSAXUserParseMemory(&handlers, nullptr, input, len); if( erc ) { - xmlErrorPtr msg = xmlCtxtGetLastError(nullptr); + const xmlError* msg = xmlCtxtGetLastError(nullptr); fprintf(stderr, "XML PARSE: error: line %d: %s (%d: %d.%d.%d)\n", msg->line, msg->message, erc, msg->domain, msg->level, msg->code); } |
