aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/abis_rsl.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-10-22 15:43:55 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-10-22 15:43:55 +0200
commitddd918f7ec6812f3b10835cdc317428d3e413e9b (patch)
treeff918e817a53152862dfe9fe23e6750911bd62b7 /openbsc/src/abis_rsl.c
parent8b77a34131243986fd1f0d4b9a637c652e6109d8 (diff)
Fix compiler warning and cast const away.
TLVP_VAL returns a const u_int8_t* and we assign it to a non const, cast const away.
Diffstat (limited to 'openbsc/src/abis_rsl.c')
-rw-r--r--openbsc/src/abis_rsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/abis_rsl.c b/openbsc/src/abis_rsl.c
index 800f2027f..da12d9373 100644
--- a/openbsc/src/abis_rsl.c
+++ b/openbsc/src/abis_rsl.c
@@ -971,7 +971,7 @@ static int rsl_rx_meas_res(struct msgb *msg)
}
if (TLVP_PRESENT(&tp, RSL_IE_L3_INFO)) {
DEBUGPC(DMEAS, "L3\n");
- msg->l3h = TLVP_VAL(&tp, RSL_IE_L3_INFO);
+ msg->l3h = (u_int8_t *) TLVP_VAL(&tp, RSL_IE_L3_INFO);
return gsm0408_rcvmsg(msg, 0);
} else
DEBUGPC(DMEAS, "\n");