summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_sup.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-07 12:26:34 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-07 12:26:34 +0000
commit30a601365b8598c630eff0fe10bf2503e121b09b (patch)
treed7b3864f6e31ca90ffc2c6f18c713b4b2bb05bbf /sys/arch/i386/isa/pcvt/pcvt_sup.c
parenteca2c01fbb650f74d8b1335ce611c1eae7bd704b (diff)
fillw is in machine/cpu.h now.
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_sup.c')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_sup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_sup.c b/sys/arch/i386/isa/pcvt/pcvt_sup.c
index 97c6583a1ac..32b226cc0ca 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_sup.c
+++ b/sys/arch/i386/isa/pcvt/pcvt_sup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcvt_sup.c,v 1.2 1996/04/18 17:48:36 niklas Exp $ */
+/* $OpenBSD: pcvt_sup.c,v 1.3 1996/05/07 12:26:32 mickey Exp $ */
/*
* Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch.
@@ -1087,11 +1087,11 @@ set_charset(struct video_state *svsp, int curvgacs)
}
if (newrows < newsize)
fillw(user_attr | ' ',
- svsp->Crtat + newrows * svsp->maxcol,
+ (caddr_t)svsp->Crtat + newrows * svsp->maxcol,
(newsize - newrows) * svsp->maxcol);
} else if (oldrows < newsize)
fillw(user_attr | ' ',
- svsp->Crtat + oldrows * svsp->maxcol,
+ (caddr_t)svsp->Crtat + oldrows * svsp->maxcol,
(newsize - oldrows) * svsp->maxcol);
svsp->screen_rowsize = newsize;
@@ -1906,7 +1906,7 @@ scrnsv_timedout(void *arg)
{
/* second call, now blank the screen */
/* fill screen with blanks */
- fillw(/* (BLACK<<8) + */ ' ', vsp->Crtat, scrnsv_size / 2);
+ fillw(/* (BLACK<<8) + */ ' ', (caddr_t)vsp->Crtat, scrnsv_size / 2);
#if PCVT_PRETTYSCRNS
scrnsv_current = vsp->Crtat;