From 1dfa27a0098764de08c11ef0f4ff2bbf661b146c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Turnel?= Date: Fri, 6 Oct 2017 11:56:14 +0200 Subject: [PATCH] Fix implicit cast for windows --- tester/call_video_tester.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tester/call_video_tester.c b/tester/call_video_tester.c index fb6e433a7..77ad9fd6c 100644 --- a/tester/call_video_tester.c +++ b/tester/call_video_tester.c @@ -2088,8 +2088,8 @@ static void video_call_expected_fps_for_specified_bandwidth(int bandwidth, int f linphone_core_set_preferred_video_size_by_name(marie->lc, resolution); simparams.mode = OrtpNetworkSimulatorOutbound; simparams.enabled = TRUE; - simparams.max_bandwidth = bandwidth; - simparams.max_buffer_size = (int)simparams.max_bandwidth; + simparams.max_bandwidth = (float)bandwidth; + simparams.max_buffer_size = bandwidth; simparams.latency = 60; linphone_core_set_network_simulator_params(marie->lc, &simparams);