summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-06-11 05:18:26 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-06-11 05:18:26 +0000
commit444fd2cc9647a2c79703bd548cb63ce4304bea6e (patch)
tree0b065247df55848064b51abd395216fd63ab1b38 /apps
parentec6a6925efbea5c3c7475933469bf23649e79bf1 (diff)
Fixed simulator warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3743 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
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