libgcobol/ChangeLog:
PR cobol/122398
* xmlparse.cc (__gg__xml_parse): Make 'msg' const.
---
Committed as obvious.
libgcobol/xmlparse.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libgcobol/xmlparse.cc b/libgcobol/xmlparse.cc
index 69849e3311c6..57d370a39070 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);
}
--
2.51.1