projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix all -Wsign-compare warnings
[platform/upstream/libxkbcommon.git]
/
src
/
map.c
diff --git
a/src/map.c
b/src/map.c
index
ece711f
..
34df22b
100644
(file)
--- a/
src/map.c
+++ b/
src/map.c
@@
-275,7
+275,7
@@
xkb_key_get_group(struct xkb_state *state, xkb_keycode_t key)
{
unsigned int info = XkbKeyGroupInfo(state->xkb, key);
unsigned int num_groups = XkbKeyNumGroups(state->xkb, key);
- int ret = state->group;
+
unsigned
int ret = state->group;
if (ret < XkbKeyNumGroups(state->xkb, key))
return ret;