summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-09-26 10:28:52 +1000
committerDaniel Stone <daniel@fooishbar.org>2012-09-26 10:28:52 +1000
commit29a8b1ceaca1f4c3d175cb23d2fbc57a5e00ed2f (patch)
tree35f3f3d3cc61774962a078dc8a41e794b812ae08
parentcfa6d25cb5c321e52227cc114d054bbd7a22179a (diff)
downloadlibxkbcommon-29a8b1ceaca1f4c3d175cb23d2fbc57a5e00ed2f.tar.gz
libxkbcommon-29a8b1ceaca1f4c3d175cb23d2fbc57a5e00ed2f.tar.bz2
libxkbcommon-29a8b1ceaca1f4c3d175cb23d2fbc57a5e00ed2f.zip
Fix size_t vs. %d warning
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
-rw-r--r--src/xkbcomp/symbols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/symbols.c b/src/xkbcomp/symbols.c
index 0aeb6b5..4e8b7bd 100644
--- a/src/xkbcomp/symbols.c
+++ b/src/xkbcomp/symbols.c
@@ -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;
}