diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-02-03 09:20:06 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-02-03 09:20:06 +0100 |
commit | ba41978b9716db906f5696cd850d6a67667dd481 (patch) | |
tree | 78cffafe250e04bc039cc6a8af9a61b9d44fca62 /openbsc/tests/mgcp/mgcp_test.c | |
parent | 757971ade86940e43b873f9bf6a9059d854bb04b (diff) |
mgcp: transit is a signed variable and should be printed like this
On AMD64 we had a difference in the test result most likely due
the bigger size of integers.
Diffstat (limited to 'openbsc/tests/mgcp/mgcp_test.c')
-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 b1bbb7f3a..fdb189006 100644 --- a/openbsc/tests/mgcp/mgcp_test.c +++ b/openbsc/tests/mgcp/mgcp_test.c @@ -830,7 +830,7 @@ static void test_packet_error_detection(int patch_ssrc, int patch_ts) state.in_stream.err_ts_counter - last_in_ts_err_cnt, state.out_stream.err_ts_counter - last_out_ts_err_cnt); - printf("Stats: Jitter = %u, Transit = %u\n", + printf("Stats: Jitter = %u, Transit = %d\n", mgcp_state_calc_jitter(&state), state.transit); last_in_ts_err_cnt = state.in_stream.err_ts_counter; |