From e68395b2a10db2e6c75ef05f220b36118095529d Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 22 Jul 2003 01:03:13 +0000 Subject: make it compile again damnit; from slash@peereboom.us --- sys/kern/tty_pty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index c164df69e4d..7cbb13a523a 100644 --- a/sys/kern/tty_pty.c +++ b/sys/kern/tty_pty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_pty.c,v 1.13 2003/07/21 22:44:50 tedu Exp $ */ +/* $OpenBSD: tty_pty.c,v 1.14 2003/07/22 01:03:12 mickey Exp $ */ /* $NetBSD: tty_pty.c,v 1.33.4.1 1996/06/02 09:08:11 mrg Exp $ */ /* @@ -642,7 +642,7 @@ ptckqfilter(dev_t dev, struct knote *kn) return (1); } - kn->kn_hook = pti; + kn->kn_hook = (caddr_t)pti; s = spltty(); SLIST_INSERT_HEAD(klist, kn, kn_selnext); -- cgit v1.2.3