diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-23 21:11:19 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-23 21:11:19 +0800 |
commit | b6eded84fedc625e3fc54f11be27199240bacc50 (patch) | |
tree | 7ec8f9e17b96a3c99927ea95799a0249f6f6a939 /openbsc | |
parent | ce4ccbc434e64f0c664bb1460cfa3bd6d663375b (diff) |
gprs_bssgp.c: Cast const of TLVP_VAL away.
Fix a compiler warning, we cast the const away at various
other parts in the code as well. We should consider removing
the const from the TLV struct..
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/gprs/gprs_bssgp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/gprs_bssgp.c b/openbsc/src/gprs/gprs_bssgp.c index d5ff44d8..0d60ac9c 100644 --- a/openbsc/src/gprs/gprs_bssgp.c +++ b/openbsc/src/gprs/gprs_bssgp.c @@ -256,8 +256,8 @@ static int bssgp_rx_ul_ud(struct msgb *msg, struct tlv_parsed *tp, return bssgp_tx_status(BSSGP_CAUSE_MISSING_MAND_IE, NULL, msg); /* store pointer to LLC header and CELL ID in msgb->cb */ - msgb_llch(msg) = TLVP_VAL(tp, BSSGP_IE_LLC_PDU); - msgb_bcid(msg) = TLVP_VAL(tp, BSSGP_IE_CELL_ID); + msgb_llch(msg) = (uint8_t *) TLVP_VAL(tp, BSSGP_IE_LLC_PDU); + msgb_bcid(msg) = (uint8_t *) TLVP_VAL(tp, BSSGP_IE_CELL_ID); return gprs_llc_rcvmsg(msg, tp); } |