CXX_BUILD fixes

This commit is contained in:
twinaphex 2015-10-11 17:17:05 +02:00
parent 611bcec28c
commit 750c134b86
3 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ unsigned menu_entry_get_type_new(uint32_t i)
uint32_t menu_entry_get_bool_value(uint32_t i)
{
rarch_setting_t *setting = menu_entry_get_setting(i);
bool *ptr = setting_get_ptr(setting);
bool *ptr = (bool*)setting_get_ptr(setting);
if (!ptr)
return 0;
return *ptr;

View File

@ -353,7 +353,7 @@ void menu_input_st_hex_callback(void *userdata, const char *str)
if (setting)
{
unsigned *ptr = setting_get_ptr(setting);
unsigned *ptr = (unsigned*)setting_get_ptr(setting);
if (str[0] == '#')
str++;
*ptr = strtoul(str, NULL, 16);

View File

@ -148,7 +148,7 @@ struct rarch_setting
} boolean;
unsigned bind_type;
unsigned browser_selection_type;
enum setting_type browser_selection_type;
float step;
const char *rounding_fraction;
bool enforce_minrange;