From 73cbe46f8d871b70310735276f34d9c207412587 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 9 Apr 2021 07:02:00 +0000 Subject: [PATCH] Change a type to fix a warning with some compilers. --- input-keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input-keys.c b/input-keys.c index 40567a49..ab7d2212 100644 --- a/input-keys.c +++ b/input-keys.c @@ -430,7 +430,7 @@ input_key_pane(struct window_pane *wp, key_code key, struct mouse_event *m) } static void -input_key_write(const char *from, struct bufferevent *bev, const void *data, +input_key_write(const char *from, struct bufferevent *bev, const char *data, size_t size) { log_debug("%s: %.*s", from, (int)size, data);