aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2003-09-28 09:21:24 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2003-09-28 09:21:24 +0000
commit7045754fcfc88ca90b00986fdbaec2cc1cc5da8f (patch)
tree5a3fba6b2c12ddd3fc147e87a5781a9b4966b372 /usr.bin
parent99d21d504cd3ea6da3c0c6c1e3eb990bd0b6ea7b (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/talk/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
index bcbfe6f93ec3..6cfa7f16a4a7 100644
--- a/usr.bin/talk/io.c
+++ b/usr.bin/talk/io.c
@@ -130,7 +130,7 @@ talk()
* curses's output routines would screw up
*/
int i;
- ioctl(0, FIONREAD, (struct sgttyb *) &nb);
+ ioctl(0, FIONREAD, (void *) &nb);
nb = read(STDIN_FILENO, buf, nb);
display(&my_win, buf, nb);
/* might lose data here because sockt is non-blocking */