diff options
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)); |