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

Kristian Høgsberg hoegsberg at gmail.com
Thu Aug 2 08:06:59 PDT 2012


On Thu, Aug 02, 2012 at 03:36:57PM +0100, Rob Bradford wrote:
> From: Rob Bradford <rob at linux.intel.com>

Thanks, applied.
Kristian

> ---
>  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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list