1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static bool wm875xbass_is_changed(void* setting, void* defaultval)
{
    return *(int*)setting == (int*)defaultval;
}

gives warning:
/home/wodz/rockbox-git/apps/settings_list.c: In function `wm875xbass_is_changed':
/home/wodz/rockbox-git/apps/settings_list.c:308: warning: comparison between pointer and integer

static void wm875xbass_set_default(void* setting, void* defaultval)
{
    *(int*)setting = (int*)defaultval;
}

gives warning:
/home/wodz/rockbox-git/apps/settings_list.c: In function `wm875xbass_set_default':
/home/wodz/rockbox-git/apps/settings_list.c:312: warning: assignment makes integer from pointer without a cast