From 444fd2cc9647a2c79703bd548cb63ce4304bea6e Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Wed, 11 Jun 2003 05:18:26 +0000 Subject: Fixed simulator warning git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3743 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/settings.c b/apps/settings.c index b04609d7bb..38b9662b48 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) && (*boolvar != oldval))) { + ((type==BOOL) && ((int)*boolvar != oldval))) { if (type==INT) *intvar=oldval; else -- cgit v1.2.3