From 0fb797596a03132bca590b2a6847251d136b9e57 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 2 Aug 2012 15:36:57 +0100 Subject: [PATCH] compositor: Use uint32_t for the msecs value consistently --- src/compositor.c | 4 ++-- src/compositor.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index d504ebec..2d03a140 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1101,7 +1101,7 @@ surface_accumulate_damage(struct weston_surface *surface, } 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_surface *es; @@ -1198,7 +1198,7 @@ weston_compositor_read_input(int fd, uint32_t mask, void *data) } 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 wl_event_loop *loop = diff --git a/src/compositor.h b/src/compositor.h index 25aabcdc..039e7311 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -536,7 +536,7 @@ void weston_layer_init(struct weston_layer *layer, struct wl_list *below); void -weston_output_finish_frame(struct weston_output *output, int msecs); +weston_output_finish_frame(struct weston_output *output, uint32_t msecs); void weston_output_schedule_repaint(struct weston_output *output); void