[mutter] wayland/gtk-shell: Fix signedness of resource version variable



commit d59cf98690de38218a9ad00f3b175809d0f8ba3f
Author: Jonas Ådahl <jadahl gmail com>
Date:   Wed Oct 24 14:37:10 2018 +0200

    wayland/gtk-shell: Fix signedness of resource version variable
    
    wl_resource_get_version() returns an int, not an unsigned int.

 src/wayland/meta-wayland-gtk-shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/wayland/meta-wayland-gtk-shell.c b/src/wayland/meta-wayland-gtk-shell.c
index 10ed05137..a9711afea 100644
--- a/src/wayland/meta-wayland-gtk-shell.c
+++ b/src/wayland/meta-wayland-gtk-shell.c
@@ -207,7 +207,7 @@ fill_states (struct wl_array    *states,
              struct wl_resource *resource)
 {
   uint32_t *s;
-  guint version;
+  int version;
 
   version = wl_resource_get_version (resource);
 


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