From: nicm Date: Fri, 9 Apr 2021 07:02:00 +0000 (+0000) Subject: Change a type to fix a warning with some compilers. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=be6be6eda05b9a64eefb083d7cfecd8aa5f07b1a;p=openbsd Change a type to fix a warning with some compilers. --- 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);