1
0
Fork 0
forked from len0rd/rockbox

fix build warnings

Change-Id: Id5f0e84834f1cb74a317bb5653fdb6f665233345
This commit is contained in:
Jonathan Gordon 2012-07-05 11:24:08 +10:00
parent d336eb30f8
commit c413591e7e

View file

@ -1491,7 +1491,7 @@ static int parse_touchregion(struct skin_element *element,
region->last_press = 0xffff; region->last_press = 0xffff;
region->press_length = PRESS; region->press_length = PRESS;
region->allow_while_locked = false; region->allow_while_locked = false;
region->bar = -1; region->bar = PTRTOSKINOFFSET(skin_buffer, NULL);
action = get_param_text(element, p++); action = get_param_text(element, p++);
/* figure out the action */ /* figure out the action */
@ -2409,7 +2409,7 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data,
} }
regions = SKINOFFSETTOPTR(skin_buffer, wps_data->touchregions); regions = SKINOFFSETTOPTR(skin_buffer, wps_data->touchregions);
if (regions && !user_touch_region_found) if (regions && !user_touch_region_found)
wps_data->touchregions = -1; wps_data->touchregions = PTRTOSKINOFFSET(skin_buffer, NULL);
#endif #endif
skin_buffer = NULL; skin_buffer = NULL;