bssgp: Input argument to bssgp_tlv_parse() should be 'const'

Change-Id: I397b32a6e6ea3e9d218446138cceafa9b27685dd
This commit is contained in:
Harald Welte 2020-11-18 11:52:14 +01:00
parent 702c998391
commit 465c9a5937
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}