summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/x11/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/keymap.c b/src/x11/keymap.c
index ce0f7e7..df150d1 100644
--- a/src/x11/keymap.c
+++ b/src/x11/keymap.c
@@ -977,7 +977,7 @@ get_group_names(struct xkb_keymap *keymap, struct x11_atom_interner *interner,
keymap->num_group_names = msb_pos(reply->groupNames);
ALLOC_OR_FAIL(keymap->group_names, keymap->num_group_names);
- for (size_t i = 0; i < length; i++) {
+ for (int i = 0; i < length; i++) {
x11_atom_interner_adopt_atom(interner, iter[i],
&keymap->group_names[i]);
}