From f09f500fd36412b6a17f235f7d605a0903f73582 Mon Sep 17 00:00:00 2001
From: Simon Morlat <simon.morlat@linphone.org>
Date: Thu, 3 May 2018 22:28:26 +0200
Subject: [PATCH] Fix compilation errors.

---
 daemon/daemon.cc                  | 2 +-
 tester/quality_reporting_tester.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/daemon/daemon.cc b/daemon/daemon.cc
index 634fa95d3c..5e79f32980 100644
--- a/daemon/daemon.cc
+++ b/daemon/daemon.cc
@@ -123,7 +123,7 @@ void *Daemon::iterateThread(void *arg) {
 
 EventResponse::EventResponse(Daemon *daemon, LinphoneCall *call, LinphoneCallState state) {
 	LinphoneCallLog *callLog = linphone_call_get_call_log(call);
-	LinphoneAddress *fromAddr = linphone_call_log_get_from_address(callLog);
+	const LinphoneAddress *fromAddr = linphone_call_log_get_from_address(callLog);
 	char *fromStr = linphone_address_as_string(fromAddr);
 
 	ostringstream ostr;
diff --git a/tester/quality_reporting_tester.c b/tester/quality_reporting_tester.c
index 92b5c4e0ec..6870791a83 100644
--- a/tester/quality_reporting_tester.c
+++ b/tester/quality_reporting_tester.c
@@ -97,10 +97,12 @@ static void on_report_send_with_rtcp_xr_remote (const LinphoneCall *call, SalStr
 	}
 }
 
+/*
 static void on_report_send_with_rtcp_xr_both (const LinphoneCall *call, SalStreamType stream_type, const LinphoneContent *content) {
 	on_report_send_with_rtcp_xr_local(call, stream_type, content);
 	on_report_send_with_rtcp_xr_remote(call, stream_type, content);
 }
+*/
 
 static bool_t create_call_for_quality_reporting_tests (
 	LinphoneCoreManager *marie,
-- 
GitLab