lint
authorEdward Wang <edward@ucbvax.Berkeley.EDU>
Sat, 3 Mar 1984 05:27:27 +0000 (21:27 -0800)
committerEdward Wang <edward@ucbvax.Berkeley.EDU>
Sat, 3 Mar 1984 05:27:27 +0000 (21:27 -0800)
SCCS-vsn: usr.bin/window/wwpty.c 3.7

usr/src/usr.bin/window/wwpty.c

index 4832a77..81bd6f3 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)wwpty.c     3.6 84/01/16";
+static char *sccsid = "@(#)wwpty.c     3.7 84/03/02";
 #endif
 
 #include "ww.h"
 #endif
 
 #include "ww.h"
@@ -34,7 +34,7 @@ register struct ww *w;
                                continue;
                        }
                        (void) close(tty);
                                continue;
                        }
                        (void) close(tty);
-                       if (ioctl(w->ww_pty, (int)TIOCPKT, &on) < 0) {
+                       if (ioctl(w->ww_pty, (int)TIOCPKT, (char *)&on) < 0) {
                                (void) close(w->ww_pty);
                                continue;
                        }
                                (void) close(w->ww_pty);
                                continue;
                        }