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

wl_resource_get_version() returns an int, not an unsigned int.
This commit is contained in:
Jonas Ådahl 2018-10-24 14:37:10 +02:00
parent 27fee69ca4
commit d59cf98690

View File

@ -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);