compositor: Use uint32_t for the msecs value consistently
This commit is contained in:
committed by
Kristian Høgsberg
parent
d9a8e16b7b
commit
0fb797596a
+2
-2
@@ -1101,7 +1101,7 @@ surface_accumulate_damage(struct weston_surface *surface,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
weston_output_repaint(struct weston_output *output, int msecs)
|
weston_output_repaint(struct weston_output *output, uint32_t msecs)
|
||||||
{
|
{
|
||||||
struct weston_compositor *ec = output->compositor;
|
struct weston_compositor *ec = output->compositor;
|
||||||
struct weston_surface *es;
|
struct weston_surface *es;
|
||||||
@@ -1198,7 +1198,7 @@ weston_compositor_read_input(int fd, uint32_t mask, void *data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
WL_EXPORT void
|
WL_EXPORT void
|
||||||
weston_output_finish_frame(struct weston_output *output, int msecs)
|
weston_output_finish_frame(struct weston_output *output, uint32_t msecs)
|
||||||
{
|
{
|
||||||
struct weston_compositor *compositor = output->compositor;
|
struct weston_compositor *compositor = output->compositor;
|
||||||
struct wl_event_loop *loop =
|
struct wl_event_loop *loop =
|
||||||
|
|||||||
+1
-1
@@ -536,7 +536,7 @@ void
|
|||||||
weston_layer_init(struct weston_layer *layer, struct wl_list *below);
|
weston_layer_init(struct weston_layer *layer, struct wl_list *below);
|
||||||
|
|
||||||
void
|
void
|
||||||
weston_output_finish_frame(struct weston_output *output, int msecs);
|
weston_output_finish_frame(struct weston_output *output, uint32_t msecs);
|
||||||
void
|
void
|
||||||
weston_output_schedule_repaint(struct weston_output *output);
|
weston_output_schedule_repaint(struct weston_output *output);
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user