aboutsummaryrefslogtreecommitdiffstats
path: root/gtp/gtpie.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtp/gtpie.c')
-rw-r--r--gtp/gtpie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtp/gtpie.c b/gtp/gtpie.c
index 0744370..accc542 100644
--- a/gtp/gtpie.c
+++ b/gtp/gtpie.c
@@ -40,7 +40,7 @@
#include "gtpie.h"
int gtpie_tlv(void *p, unsigned int *length, unsigned int size, uint8_t t,
- int l, void *v)
+ int l, const void *v)
{
if ((*length + 3 + l) >= size)
return 1;
@@ -52,7 +52,7 @@ int gtpie_tlv(void *p, unsigned int *length, unsigned int size, uint8_t t,
}
int gtpie_tv0(void *p, unsigned int *length, unsigned int size, uint8_t t,
- int l, uint8_t * v)
+ int l, const uint8_t * v)
{
if ((*length + 1 + l) >= size)
return 1;