[PATCH 6/7] Make process_commands_generation variable type coherent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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          (DisplayCha
 uint32_t                   display_channel_generate_uid              (DisplayChannel *display);
 void                       display_channel_process_draw              (DisplayChannel *display,
                                                                       RedDrawable *red_drawable,
-                                                                      int process_commands_generation);
+                                                                      uint32_t process_commands_generation);
 void                       display_channel_process_surface_cmd       (DisplayChannel *display,
                                                                       RedSurfaceCmd *surface,
                                                                       int loadvm);
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]