diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2014-02-16 08:03:59 +0100 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2014-05-06 17:20:05 +0400 |
commit | a7a9617daee6e6bd36c46eecc988face4b7d56ce (patch) | |
tree | d2169a40eda62d1e4c59596849091f11cd300585 /openbsc | |
parent | a57a325d0a340c746290f03f78f0313b74050495 (diff) |
HACK: Make mgcp_test compile
This is not a solution, just a workarround to get rid of llround()
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/tests/mgcp/mgcp_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/mgcp/mgcp_test.c b/openbsc/tests/mgcp/mgcp_test.c index 498a1d8e6..7c562d610 100644 --- a/openbsc/tests/mgcp/mgcp_test.c +++ b/openbsc/tests/mgcp/mgcp_test.c @@ -801,7 +801,7 @@ static void test_packet_error_detection(int patch_ssrc, int patch_ts) for (i = 0; i < ARRAY_SIZE(test_rtp_packets1); ++i) { struct rtp_packet_info *info = test_rtp_packets1 + i; - force_monotonic_time_us = round(1000000.0 * info->txtime); + force_monotonic_time_us = (1000000.0 * info->txtime)+0.5; OSMO_ASSERT(info->len <= sizeof(buffer)); OSMO_ASSERT(info->len >= 0); |