[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:
parent
c5337c43e9
commit
06d661803c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue