Fix size_t vs. %d warning

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-09-26 10:28:52 +10:00
parent cfa6d25cb5
commit 29a8b1ceac
1 changed files with 2 additions and 2 deletions

View File

@ -1423,10 +1423,10 @@ FindTypeForGroup(struct xkb_keymap *keymap, KeyInfo *keyi,
if (type_name == XKB_ATOM_NONE) {
log_warn(keymap->ctx,
"Couldn't find an automatic type for key '%s' group %d with %d levels; "
"Couldn't find an automatic type for key '%s' group %d with %lu levels; "
"Using the default type\n",
LongKeyNameText(keyi->name), group + 1,
darray_size(groupi->levels));
(unsigned long) darray_size(groupi->levels));
goto use_default;
}