summaryrefslogtreecommitdiff
path: root/tlv11.c
diff options
context:
space:
mode:
Diffstat (limited to 'tlv11.c')
-rw-r--r--tlv11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tlv11.c b/tlv11.c
index c609f4e..5697c1b 100644
--- a/tlv11.c
+++ b/tlv11.c
@@ -109,7 +109,7 @@ uint8_t *tlv2str(struct tlv *tlv) {
return s;
}
-uint8_t *tlv2buf(uint8_t *p, struct tlv *tlv) {
+uint8_t *tlv2buf(uint8_t *p, const struct tlv *tlv) {
*p++ = tlv->t;
*p++ = tlv->l;
if (tlv->l) {