[Spice-devel] [PATCH 6/7] Make process_commands_generation variable type coherent

Pavel Grunt pgrunt at redhat.com
Thu Aug 11 11:29:23 UTC 2016


Ack

On Thu, 2016-08-11 at 09:50 +0100, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  server/display-channel.c | 6 +++---
>  server/display-channel.h | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/server/display-channel.c b/server/display-channel.c
> index 4f52b79..5e0a004 100644
> --- a/server/display-channel.c
> +++ b/server/display-channel.c
> @@ -24,7 +24,7 @@
>  
>  static void drawable_draw(DisplayChannel *display, Drawable *drawable);
>  static Drawable *display_channel_drawable_try_new(DisplayChannel *display,
> -                                                  int
> process_commands_generation);
> +                                                  uint32_t
> process_commands_generation);
>  
>  uint32_t display_channel_generate_uid(DisplayChannel *display)
>  {
> @@ -1081,7 +1081,7 @@ static void display_channel_add_drawable(DisplayChannel
> *display, Drawable *draw
>  }
>  
>  void display_channel_process_draw(DisplayChannel *display, RedDrawable
> *red_drawable,
> -                                  int process_commands_generation)
> +                                  uint32_t process_commands_generation)
>  {
>      Drawable *drawable =
>          display_channel_get_drawable(display, red_drawable->effect,
> red_drawable,
> @@ -1264,7 +1264,7 @@ static void drawables_init(DisplayChannel *display)
>   * @return pointer to uninitialized Drawable or NULL on failure
>   */
>  static Drawable *display_channel_drawable_try_new(DisplayChannel *display,
> -                                                  int
> process_commands_generation)
> +                                                  uint32_t
> process_commands_generation)
>  {
>      Drawable *drawable;
>  
> diff --git a/server/display-channel.h b/server/display-channel.h
> index 52a5783..7b71480 100644
> --- a/server/display-channel.h
> +++ b/server/display-channel.h
> @@ -270,7 +270,7 @@
> void                       display_channel_destroy_surfaces          (DisplayC
> ha
>  uint32_t                   display_channel_generate_uid              (Display
> Channel *display);
>  void                       display_channel_process_draw              (Display
> Channel *display,
>                                                                        RedDraw
> able *red_drawable,
> -                                                                      int
> process_commands_generation);
> +                                                                      uint32_
> t process_commands_generation);
>  void                       display_channel_process_surface_cmd       (Display
> Channel *display,
>                                                                        RedSurf
> aceCmd *surface,
>                                                                        int
> loadvm);


More information about the Spice-devel mailing list