From: Dodji Seketeli Date: Thu, 20 Jan 2022 14:31:26 +0000 (+0100) Subject: writer: small compilation error fix X-Git-Tag: libabigail-2.1~110 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=3866f163f9783f1a89240b4f02ab15af9fcd067f;p=libabigail.git writer: small compilation error fix * abg-writer.cc (write_type_record): Fix const-ness in argument passing. Signed-off-by: Dodji Seketeli --- 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, // 0x25f9ba8 // - string id = ctxt.get_id_for_type (type); + string id = ctxt.get_id_for_type (const_cast(type)); o << " \n" << " " << id << "\n" << " "