add typecast, will compile

This commit is contained in:
glass 1994-05-30 06:12:07 +00:00
parent db35f66457
commit 9cf6b07329
2 changed files with 5 additions and 4 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)dc.c 8.2 (Berkeley) 11/30/93
* $Id: dc.c,v 1.4 1994/05/27 08:58:30 glass Exp $
* $Id: dc.c,v 1.5 1994/05/30 06:12:07 glass Exp $
*/
/*
@ -593,7 +593,7 @@ dcxint(tp)
if (tp->t_state & TS_FLUSH)
tp->t_state &= ~TS_FLUSH;
else {
ndflush(&tp->t_outq, dp->p_mem-tp->t_outq.c_cf);
ndflush(&tp->t_outq, dp->p_mem - (caddr_t) tp->t_outq.c_cf);
dp->p_end = dp->p_mem = tp->t_outq.c_cf;
}
if (tp->t_line)

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)scc.c 8.2 (Berkeley) 11/30/93
* $Id: scc.c,v 1.4 1994/05/27 08:59:16 glass Exp $
* $Id: scc.c,v 1.5 1994/05/30 06:13:58 glass Exp $
*/
/*
@ -649,7 +649,8 @@ sccintr(unit)
if (tp->t_state & TS_FLUSH)
tp->t_state &= ~TS_FLUSH;
else {
ndflush(&tp->t_outq, dp->p_mem-tp->t_outq.c_cf);
ndflush(&tp->t_outq, dp->p_mem - (caddr_t)
tp->t_outq.c_cf);
dp->p_end = dp->p_mem = tp->t_outq.c_cf;
}
if (tp->t_line)