diff options
author | Harald Welte <laforge@osmocom.org> | 2020-11-18 11:52:14 +0100 |
---|---|---|
committer | Harald Welte <laforge@osmocom.org> | 2020-11-18 12:22:25 +0100 |
commit | 465c9a59370e010366189e120f70d24bd2e49d37 (patch) | |
tree | dac647d54f30eb39ac8388bc3b692008fd51ba8c /include | |
parent | 702c9983910db22a80c19336db350048d142af3b (diff) |
bssgp: Input argument to bssgp_tlv_parse() should be 'const'
Change-Id: I397b32a6e6ea3e9d218446138cceafa9b27685dd
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/gprs/gprs_bssgp.h | 2 |
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); } |