summaryrefslogtreecommitdiff
path: root/src/xkbcomp/action.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-09-30 14:17:08 +0200
committerRan Benita <ran234@gmail.com>2012-09-30 14:20:16 +0200
commit26cc2f400a65b09b27a05349d0134201262dc437 (patch)
treea6152977593ca0847e1698117091e2450e420b42 /src/xkbcomp/action.c
parented1203dfef1e946a834ba08655d467dd8aa15b0f (diff)
downloadlibxkbcommon-26cc2f400a65b09b27a05349d0134201262dc437.tar.gz
libxkbcommon-26cc2f400a65b09b27a05349d0134201262dc437.tar.bz2
libxkbcommon-26cc2f400a65b09b27a05349d0134201262dc437.zip
Don't use %z printf format
Some libc's don't support it. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/action.c')
-rw-r--r--src/xkbcomp/action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c
index 47d273c..900ec2d 100644
--- a/src/xkbcomp/action.c
+++ b/src/xkbcomp/action.c
@@ -784,9 +784,9 @@ HandlePrivate(struct xkb_keymap *keymap, union xkb_action *action,
if (ndx < 0 || ndx >= sizeof(act->data)) {
log_err(keymap->ctx,
- "The data for a private action is %zu bytes long; "
+ "The data for a private action is %lu bytes long; "
"Attempt to use data[%d] ignored\n",
- sizeof(act->data), ndx);
+ (unsigned long) sizeof(act->data), ndx);
return false;
}