struct ivi_controller_layer *ivi_controller_layer,
wl_fixed_t opacity) {
static_cast<struct layer *>(data)->parent->layer_opacity(
- static_cast<struct layer *>(data)->id, wl_fixed_to_double(opacity));
+ static_cast<struct layer *>(data)->id,
+ float(wl_fixed_to_double(opacity)));
}
void layer_source_rectangle(void *data,
struct ivi_controller_surface *ivi_controller_surface,
wl_fixed_t opacity) {
static_cast<struct surface *>(data)->parent->surface_opacity(
- static_cast<struct surface *>(data)->id, wl_fixed_to_double(opacity));
+ static_cast<struct surface *>(data)->id,
+ float(wl_fixed_to_double(opacity)));
}
void surface_source_rectangle(