From be6be6eda05b9a64eefb083d7cfecd8aa5f07b1a 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. --- usr.bin/tmux/input-keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/input-keys.c b/usr.bin/tmux/input-keys.c index bbb047025d3..93865e7e4f0 100644 --- a/usr.bin/tmux/input-keys.c +++ b/usr.bin/tmux/input-keys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input-keys.c,v 1.82 2021/04/08 14:16:12 nicm Exp $ */ +/* $OpenBSD: input-keys.c,v 1.83 2021/04/09 07:02:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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); -- 2.20.1