From: Emil Velikov <emil.velikov@xxxxxxxxxxxxx> --- monitor/sdp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monitor/sdp.c b/monitor/sdp.c index 2c69dc83b..5fe4f2979 100644 --- a/monitor/sdp.c +++ b/monitor/sdp.c @@ -148,9 +148,9 @@ static void print_boolean(uint8_t indent, const uint8_t *data, uint32_t size) #define SIZES(args...) ((uint8_t[]) { args, 0xff } ) -static struct { +static const struct { uint8_t value; - uint8_t *sizes; + const uint8_t *sizes; bool recurse; const char *str; void (*print) (uint8_t indent, const uint8_t *data, uint32_t size); @@ -184,7 +184,7 @@ static const struct { { } }; -static bool valid_size(uint8_t size, uint8_t *sizes) +static bool valid_size(uint8_t size, const uint8_t *sizes) { int i; -- 2.43.0