diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-10 02:13:21 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-03-16 15:32:34 +0100 |
commit | 952c9b033c5a1b264b41aa16fb0cfeb5db6d361b (patch) | |
tree | 55c76ae8d30de8a123a581ab6c3db805c98e6ec3 /openbsc/tests | |
parent | 5f443298fea58d047f7f7b32e5bccad259e364b9 (diff) |
compiler warning mgcp fu
Change-Id: I79a891dbaff3cd6aec5a0ab08435e4619ade62d2
Diffstat (limited to 'openbsc/tests')
-rw-r--r-- | openbsc/tests/mgcp/mgcpgw_client_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/mgcp/mgcpgw_client_test.c b/openbsc/tests/mgcp/mgcpgw_client_test.c index 10d109b47..20e9b78da 100644 --- a/openbsc/tests/mgcp/mgcpgw_client_test.c +++ b/openbsc/tests/mgcp/mgcpgw_client_test.c @@ -115,7 +115,7 @@ mgcp_trans_id_t dummy_mgcp_send(struct msgb *msg) OSMO_ASSERT(mgcpgw_client_pending_add(mgcp, trans_id, test_response_cb, mgcp)); - end = msgb_put(msg, 1); + end = (char*)msgb_put(msg, 1); *end = '\0'; printf("composed:\n-----\n%s\n-----\n", (char*)msgb_l2(msg)); |