From d59cf98690de38218a9ad00f3b175809d0f8ba3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 24 Oct 2018 14:37:10 +0200 Subject: [PATCH] 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);