diff --git a/list_special.c b/list_special.c index 5d87992ca4..2f1064d81e 100644 --- a/list_special.c +++ b/list_special.c @@ -266,7 +266,7 @@ struct string_list *string_list_new_special(enum string_list_type type, for (i = 0; i < *list_size; i++) { const char *opt = NULL; - const core_info_t *info = (const core_info_t*)&core_info[i]; + core_info_t *info = (core_info_t*)&core_info[i]; if (!info) goto error;