summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2022-01-20 15:31:26 +0100
committerDodji Seketeli <dodji@redhat.com>2022-01-20 15:32:56 +0100
commit3866f163f9783f1a89240b4f02ab15af9fcd067f (patch)
tree0b8c13a9b413e963f6d4e241b26097862ba7e51f
parentabidiff: improve whitespace generation in symbol diff report (diff)
downloadlibabigail-3866f163f9783f1a89240b4f02ab15af9fcd067f.tar.gz
libabigail-3866f163f9783f1a89240b4f02ab15af9fcd067f.tar.bz2
libabigail-3866f163f9783f1a89240b4f02ab15af9fcd067f.tar.xz
writer: small compilation error fix
* abg-writer.cc (write_type_record): Fix const-ness in argument passing. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
-rw-r--r--src/abg-writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abg-writer.cc b/src/abg-writer.cc
index 24a1fd56..7906318e 100644
--- a/src/abg-writer.cc
+++ b/src/abg-writer.cc
@@ -4811,7 +4811,7 @@ write_type_record(xml_writer::write_context& ctxt,
4811 // <c>0x25f9ba8</c> 4811 // <c>0x25f9ba8</c>
4812 // </type> 4812 // </type>
4813 4813
4814 string id = ctxt.get_id_for_type (type); 4814 string id = ctxt.get_id_for_type (const_cast<type_base*>(type));
4815 o << " <type>\n" 4815 o << " <type>\n"
4816 << " <id>" << id << "</id>\n" 4816 << " <id>" << id << "</id>\n"
4817 << " <c>" 4817 << " <c>"