aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-11-18 11:52:14 +0100
committerHarald Welte <laforge@osmocom.org>2020-11-18 12:22:25 +0100
commit465c9a59370e010366189e120f70d24bd2e49d37 (patch)
treedac647d54f30eb39ac8388bc3b692008fd51ba8c
parent702c9983910db22a80c19336db350048d142af3b (diff)
bssgp: Input argument to bssgp_tlv_parse() should be 'const'
-rw-r--r--include/osmocom/gprs/gprs_bssgp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gprs/gprs_bssgp.h b/include/osmocom/gprs/gprs_bssgp.h
index 4eb9df41..e962b444 100644
--- a/include/osmocom/gprs/gprs_bssgp.h
+++ b/include/osmocom/gprs/gprs_bssgp.h
@@ -163,7 +163,7 @@ int bssgp_create_cell_id(uint8_t *buf, const struct gprs_ra_id *raid,
uint16_t cid);
/* Wrapper around TLV parser to parse BSSGP IEs */
-static inline int bssgp_tlv_parse(struct tlv_parsed *tp, uint8_t *buf, int len)
+static inline int bssgp_tlv_parse(struct tlv_parsed *tp, const uint8_t *buf, int len)
{
return tlv_parse(tp, &tvlv_att_def, buf, len, 0, 0);
}