mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
Fix compiler warning at search.c
search.c:56:12: warning: implicit conversion changes signedness: 'int' to 'mc_search_type_t' [-Wsign-conversion] {NULL, -1} ~ ^~ Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
106f80310d
commit
a3a78d9daf
@ -41,6 +41,7 @@ typedef enum
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MC_SEARCH_T_INVALID = -1,
|
||||
MC_SEARCH_T_NORMAL,
|
||||
MC_SEARCH_T_REGEX,
|
||||
MC_SEARCH_T_HEX,
|
||||
|
@ -53,7 +53,7 @@ static const mc_search_type_str_t mc_search__list_types[] = {
|
||||
{N_("Re&gular expression"), MC_SEARCH_T_REGEX},
|
||||
{N_("He&xadecimal"), MC_SEARCH_T_HEX},
|
||||
{N_("Wil&dcard search"), MC_SEARCH_T_GLOB},
|
||||
{NULL, -1}
|
||||
{NULL, MC_SEARCH_T_INVALID}
|
||||
};
|
||||
|
||||
/*** file scope functions ************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user