aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-01 19:03:18 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-01 19:03:18 +0000
commit63e8b1b2924aef94316e621513fd938eb0acc4e9 (patch)
tree478e6db4517cdad1ac6ea297a09f412d128838c9 /input.c
parentpgo: add stub for xcursor_for_csd_border() (diff)
input: fix debug log format specifier; ‘count’ is a size_t
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index e3b14297..ef81b637 100644
--- a/input.c
+++ b/input.c
@@ -1054,7 +1054,7 @@ legacy_kbd_protocol(struct seat *seat, struct terminal *term,
#define is_control_key(x) ((x) >= 0x40 && (x) <= 0x7f)
#define IS_CTRL(x) ((x) < 0x20 || ((x) >= 0x7f && (x) <= 0x9f))
- LOG_DBG("term->modify_other_keys=%d, count=%d, is_ctrl=%d (utf8=0x%02x), sym=%d",
+ LOG_DBG("term->modify_other_keys=%d, count=%zu, is_ctrl=%d (utf8=0x%02x), sym=%d",
term->modify_other_keys_2, count, IS_CTRL(utf8[0]), utf8[0], sym);
bool ctrl_is_in_effect = (keymap_mods & MOD_CTRL) != 0;