summaryrefslogtreecommitdiff
path: root/libexec/telnetd/termstat.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-04-25 04:43:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-04-25 04:43:06 +0000
commitdb749bcf19169288df9fe9c2343cb6d6f50b47c4 (patch)
tree6b51acb9549e46d6a50235b6d5c163dcb0774552 /libexec/telnetd/termstat.c
parent4df4526ca946eab34f32c99ddda5309adc95dc09 (diff)
Fix casts in args to mem*. Boy am I anal.
Diffstat (limited to 'libexec/telnetd/termstat.c')
-rw-r--r--libexec/telnetd/termstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/termstat.c b/libexec/telnetd/termstat.c
index 9ab2f76e079..b196114e606 100644
--- a/libexec/telnetd/termstat.c
+++ b/libexec/telnetd/termstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: termstat.c,v 1.3 1996/12/23 13:12:54 robin Exp $ */
+/* $OpenBSD: termstat.c,v 1.4 1998/04/25 04:43:04 millert Exp $ */
/* $NetBSD: termstat.c,v 1.5 1996/02/28 20:38:27 thorpej Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)termstat.c 8.2 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: termstat.c,v 1.5 1996/02/28 20:38:27 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: termstat.c,v 1.3 1996/12/23 13:12:54 robin Exp $";
+static char rcsid[] = "$OpenBSD: termstat.c,v 1.4 1998/04/25 04:43:04 millert Exp $";
#endif
#endif /* not lint */
@@ -621,7 +621,7 @@ defer_terminit()
if (def_col || def_row) {
struct winsize ws;
- memset((char *)&ws, 0, sizeof(ws));
+ memset((void *)&ws, 0, sizeof(ws));
ws.ws_col = def_col;
ws.ws_row = def_row;
(void) ioctl(pty, TIOCSWINSZ, (char *)&ws);