mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
27fee69ca4
commit
d59cf98690
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user