From 76e425ed2705349b201444e78719896419862b00 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 12 Oct 2021 16:14:01 +0200 Subject: Fix compiler warnings ('assignment .. from incompatible pointer type') by returning non-const after_actions in OrderListener --- plugins/omemo/src/dtls_srtp_verification_draft.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/omemo') diff --git a/plugins/omemo/src/dtls_srtp_verification_draft.vala b/plugins/omemo/src/dtls_srtp_verification_draft.vala index 5fc9b339..810092c3 100644 --- a/plugins/omemo/src/dtls_srtp_verification_draft.vala +++ b/plugins/omemo/src/dtls_srtp_verification_draft.vala @@ -171,7 +171,7 @@ namespace Dino.Plugins.Omemo.DtlsSrtpVerificationDraft { public class VerificationSendListener : StanzaListener { - private const string[] after_actions_const = {}; + private string[] after_actions_const = {}; public override string action_group { get { return "REWRITE_NODES"; } } public override string[] after_actions { get { return after_actions_const; } } -- cgit v1.2.3-70-g09d2