summaryrefslogtreecommitdiff
path: root/tlv11.c
diff options
context:
space:
mode:
authorlinus <linus>2010-03-31 13:27:04 +0000
committerlinus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2010-03-31 13:27:04 +0000
commit08b7ea056b0597473e9d7c0c5a6f3fa466106893 (patch)
tree4a7c5b4315df27b07ef3ba8a8dca71d533d9a1f3 /tlv11.c
parentbd55e739319266857e433d9715d4e5c370fcb562 (diff)
(tlv2buf): Make TLV const.
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@545 e88ac4ed-0b26-0410-9574-a7f39faa03bf
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) {