add typecast, will compile
This commit is contained in:
parent
db35f66457
commit
9cf6b07329
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)dc.c 8.2 (Berkeley) 11/30/93
|
* 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)
|
if (tp->t_state & TS_FLUSH)
|
||||||
tp->t_state &= ~TS_FLUSH;
|
tp->t_state &= ~TS_FLUSH;
|
||||||
else {
|
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;
|
dp->p_end = dp->p_mem = tp->t_outq.c_cf;
|
||||||
}
|
}
|
||||||
if (tp->t_line)
|
if (tp->t_line)
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)scc.c 8.2 (Berkeley) 11/30/93
|
* 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)
|
if (tp->t_state & TS_FLUSH)
|
||||||
tp->t_state &= ~TS_FLUSH;
|
tp->t_state &= ~TS_FLUSH;
|
||||||
else {
|
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;
|
dp->p_end = dp->p_mem = tp->t_outq.c_cf;
|
||||||
}
|
}
|
||||||
if (tp->t_line)
|
if (tp->t_line)
|
||||||
|
Loading…
Reference in New Issue
Block a user