diff options
author | 2009-11-13 18:07:52 +0000 | |
---|---|---|
committer | 2009-11-13 18:07:52 +0000 | |
commit | 7f632d644ba6d5d15a709ff7626e12569bdef3dd (patch) | |
tree | 596f647781c9c5e0195f16a52e4a121bc5475b77 /usr.bin/tmux/client.c | |
parent | do not need to pad up the uhub allocation anymore, from miod (diff) | |
download | wireguard-openbsd-7f632d644ba6d5d15a709ff7626e12569bdef3dd.tar.xz wireguard-openbsd-7f632d644ba6d5d15a709ff7626e12569bdef3dd.zip |
imsg_read returns ssize_t not int, pointed out by lint via deraadt.
Diffstat (limited to 'usr.bin/tmux/client.c')
-rw-r--r-- | usr.bin/tmux/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c index 3197b7c4e38..e7f516c4243 100644 --- a/usr.bin/tmux/client.c +++ b/usr.bin/tmux/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.32 2009/11/10 15:47:48 nicm Exp $ */ +/* $OpenBSD: client.c,v 1.33 2009/11/13 18:07:52 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -253,7 +253,7 @@ client_signal(int sig, unused short events, unused void *data) void client_callback(unused int fd, short events, unused void *data) { - int n; + ssize_t n; if (events & EV_READ) { if ((n = imsg_read(&client_ibuf)) == -1 || n == 0) |