diff --git a/apps/settings.c b/apps/settings.c index 38b9662b48..b8062be68a 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -1679,7 +1679,7 @@ bool set_option(char* string, void* variable, enum optiontype type, case BUTTON_MENU: #endif if (((type==INT) && (*intvar != oldval)) || - ((type==BOOL) && ((int)*boolvar != oldval))) { + ((type==BOOL) && (*boolvar != (bool)oldval))) { if (type==INT) *intvar=oldval; else