Fix implicit cast for windows. (retrofit of commit 1dfa27)

This commit is contained in:
Mickaël Turnel 2018-04-03 16:58:56 +02:00
parent 490c4bf913
commit 13a398462c

View file

@ -2093,8 +2093,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);