[util] Fix compiler error

../util/options.cc:588:3: error: narrowing conversion of ‘font_size_flags’ from ‘unsigned int’ to ‘gint {aka int}’ inside { } [-Werror=narrowing]
This commit is contained in:
Behdad Esfahbod 2021-08-06 19:20:47 -06:00
parent c5337c43e9
commit 06d661803c
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ font_options_t::add_options (option_parser_t *parser)
parser->free_later (font_size_text);
}
unsigned font_size_flags = DEFAULT_FONT_SIZE == FONT_SIZE_NONE ? G_OPTION_FLAG_HIDDEN : 0;
int font_size_flags = DEFAULT_FONT_SIZE == FONT_SIZE_NONE ? G_OPTION_FLAG_HIDDEN : 0;
GOptionEntry entries[] =
{
{"font-size", 0, font_size_flags,