From f55c721b5a0f4ef96141f7e192ce6902151b1462 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 23 Oct 2018 16:28:49 +0200 Subject: [PATCH] Fix a compiler warning cgiedit.c:2836:47: warning: implicit conversion changes signedness: 'enum filter_type' to 'int' [-Wsign-conversion] const int type = filter_group->type; ~~~~ ~~~~~~~~~~~~~~^~~~ --- cgiedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgiedit.c b/cgiedit.c index 750015cf..7e04f46d 100644 --- a/cgiedit.c +++ b/cgiedit.c @@ -2833,7 +2833,7 @@ jb_err cgi_edit_actions_for_url(struct client_state *csp, char number[20]; struct list_entry *filter_name; struct map *line_exports; - const int type = filter_group->type; + const enum filter_type type = filter_group->type; const int multi_action_index = filter_type_info[type].multi_action_index; assert(type < MAX_FILTER_TYPES); -- 2.39.2