summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_json.c b/src/parser_json.c
index 91b37b58..55c6b8c7 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -807,7 +807,7 @@ static struct expr *json_parse_sctp_chunk_expr(struct json_ctx *ctx,
static struct expr *json_parse_dccp_option_expr(struct json_ctx *ctx,
const char *type, json_t *root)
{
- const int opt_type;
+ int opt_type;
if (json_unpack_err(ctx, root, "{s:i}", "type", &opt_type))
return NULL;