aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-06 22:20:51 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-06 22:20:51 +0200
commit5fa9d9c18f5a3e37cc36f6dbb3a42d696d0f63c6 (patch)
treeb73e8d69b5914ed3a2c427743debc1d22ec63d95
parent24713348c45b648f26f4ce65b591b2de9245ef58 (diff)
RSL: get rid of some compiler warnings
-rw-r--r--src/common/rsl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c
index 459ad2b3..3dbfda9c 100644
--- a/src/common/rsl.c
+++ b/src/common/rsl.c
@@ -894,7 +894,7 @@ static int rsl_rx_encr_cmd(struct msgb *msg)
/* we have to set msg->l3h as rsl_rll_push_l3 will use it to
* determine the length field of the L3_INFO IE */
- msg->l3h = TLVP_VAL(&tp, RSL_IE_L3_INFO);
+ msg->l3h = (uint8_t *) TLVP_VAL(&tp, RSL_IE_L3_INFO);
/* pop the RSL dchan header, but keep L3 TLV */
msgb_pull(msg, msg->l3h - msg->data);
@@ -1275,7 +1275,6 @@ static int rsl_rx_ipac_XXcx(struct msgb *msg)
lchan->abis_ip.rtp_socket->priv = lchan;
lchan->abis_ip.rtp_socket->rx_cb = &bts_model_rtp_rx_cb;
-#warning remove hard-coded IP address
rc = osmo_rtp_socket_bind(lchan->abis_ip.rtp_socket,
btsb->rtp_bind_host, -1);
if (rc < 0) {