summaryrefslogtreecommitdiffstats
path: root/usr.bin/mg/ttyio.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-04-03 05:03:34 +0000
committerderaadt <deraadt@openbsd.org>2006-04-03 05:03:34 +0000
commit30f4443fb56c4917828ea450f88aa33870e9e17e (patch)
treeb2e8b50f2f387248d917befaeb12e38edb20c6d6 /usr.bin/mg/ttyio.c
parentspreading the lint love (very minimal things..) (diff)
downloadwireguard-openbsd-30f4443fb56c4917828ea450f88aa33870e9e17e.tar.xz
wireguard-openbsd-30f4443fb56c4917828ea450f88aa33870e9e17e.zip
few more int that can become a size_t
Diffstat (limited to 'usr.bin/mg/ttyio.c')
-rw-r--r--usr.bin/mg/ttyio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/ttyio.c b/usr.bin/mg/ttyio.c
index ae872d58de5..d47b7d6c8b2 100644
--- a/usr.bin/mg/ttyio.c
+++ b/usr.bin/mg/ttyio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttyio.c,v 1.30 2006/04/03 00:40:56 deraadt Exp $ */
+/* $OpenBSD: ttyio.c,v 1.31 2006/04/03 05:03:34 deraadt Exp $ */
/* This file is in the public domain. */
@@ -26,7 +26,7 @@
int ttstarted;
char obuf[NOBUF]; /* Output buffer. */
-int nobuf; /* Buffer count. */
+size_t nobuf; /* Buffer count. */
struct termios oldtty; /* POSIX tty settings. */
struct termios newtty;
int nrow; /* Terminal size, rows. */