[PATCH] compositor: Use uint32_t for the msecs value consistently

Rob Bradford rob at robster.org.uk
Thu Aug 2 07:36:57 PDT 2012


From: Rob Bradford <rob at linux.intel.com>

---
 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 d504ebe..2d03a14 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 25aabcd..039e731 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
-- 
1.7.11.2



More information about the wayland-devel mailing list