diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-22 15:43:55 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-10-22 15:43:55 +0200 |
commit | ddd918f7ec6812f3b10835cdc317428d3e413e9b (patch) | |
tree | ff918e817a53152862dfe9fe23e6750911bd62b7 | |
parent | 8b77a34131243986fd1f0d4b9a637c652e6109d8 (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.
-rw-r--r-- | openbsc/src/abis_rsl.c | 2 |
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"); |