summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttyio.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-03 05:03:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-03 05:03:35 +0000
commit8527c321a0e9230d939b8721c2111a7a73cd92cc (patch)
treeb6c3b75535ccb6bdafa8e34170fe95933f3095d4 /usr.bin/mg/ttyio.c
parent167baa6dbeaf7a2b1770b810f3bc927d0ae07723 (diff)
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. */