Really return a boolean value

This commit is contained in:
Pierre Pronchery 2017-11-09 03:48:11 +01:00
parent 80f13fbc22
commit 9142061d75

View File

@ -520,7 +520,7 @@ String const * configure_get_soext(Configure * configure)
/* configure_is_flag_set */
unsigned int configure_is_flag_set(Configure * configure, unsigned int flags)
{
return configure->prefs->flags & flags;
return (configure->prefs->flags & flags) ? 1 : 0;
}