summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/mi/miwideline.c
diff options
context:
space:
mode:
authordpw <empty>1994-01-21 21:59:49 +0000
committerdpw <empty>1994-01-21 21:59:49 +0000
commit0e0b26ac69dd1ea9661f9e7fdbe953e304ae493a (patch)
treebcf4b9cafd4d982908f6a16cdde64dc44b988a22 /xc/programs/Xserver/mi/miwideline.c
parent79419f6c4d3851f5434aceb9b2ecd917766f6f7a (diff)
more changes for Dec Alpha
Diffstat (limited to 'xc/programs/Xserver/mi/miwideline.c')
-rw-r--r--xc/programs/Xserver/mi/miwideline.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/xc/programs/Xserver/mi/miwideline.c b/xc/programs/Xserver/mi/miwideline.c
index d0a070218..b57c7b323 100644
--- a/xc/programs/Xserver/mi/miwideline.c
+++ b/xc/programs/Xserver/mi/miwideline.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium: miwideline.c,v 1.50 92/07/28 16:38:52 rws Exp $
+ * $XConsortium: miwideline.c,v 1.51 93/07/11 15:20:07 rws Exp $
*
* Copyright 1988 Massachusetts Institute of Technology
*
@@ -72,7 +72,7 @@ miFillPolyHelper (pDrawable, pGC, pixel, spanData, y, overall_height,
DDXPointPtr pptInit;
register int *pwidth;
int *pwidthInit;
- unsigned long oldPixel;
+ XID oldPixel;
int xorg;
Spans spanRec;
@@ -156,7 +156,7 @@ miFillPolyHelper (pDrawable, pGC, pixel, spanData, y, overall_height,
DEALLOCATE_LOCAL (pptInit);
if (pixel != oldPixel)
{
- DoChangeGC (pGC, GCForeground, (XID *)&oldPixel, FALSE);
+ DoChangeGC (pGC, GCForeground, &oldPixel, FALSE);
ValidateGC (pDrawable, pGC);
}
}
@@ -179,7 +179,7 @@ miFillRectPolyHelper (pDrawable, pGC, pixel, spanData, x, y, w, h)
DDXPointPtr pptInit;
register int *pwidth;
int *pwidthInit;
- unsigned long oldPixel;
+ XID oldPixel;
Spans spanRec;
xRectangle rect;
int xorg;
@@ -199,7 +199,7 @@ miFillRectPolyHelper (pDrawable, pGC, pixel, spanData, x, y, w, h)
(*pGC->ops->PolyFillRect) (pDrawable, pGC, 1, &rect);
if (pixel != oldPixel)
{
- DoChangeGC (pGC, GCForeground, (XID *)&oldPixel, FALSE);
+ DoChangeGC (pGC, GCForeground, &oldPixel, FALSE);
ValidateGC (pDrawable, pGC);
}
}
@@ -974,7 +974,7 @@ miLineArc (pDraw, pGC, pixel, spanData, leftFace, rightFace, xorg, yorg, isInt)
DDXPointPtr points;
int *widths;
int xorgi, yorgi;
- unsigned long oldPixel;
+ XID oldPixel;
Spans spanRec;
int n;
PolyEdgeRec edge1, edge2;
@@ -1064,7 +1064,7 @@ miLineArc (pDraw, pGC, pixel, spanData, leftFace, rightFace, xorg, yorg, isInt)
DEALLOCATE_LOCAL(points);
if (pixel != oldPixel)
{
- DoChangeGC(pGC, GCForeground, (XID *)&oldPixel, FALSE);
+ DoChangeGC(pGC, GCForeground, &oldPixel, FALSE);
ValidateGC (pDraw, pGC);
}
}
@@ -1480,20 +1480,20 @@ miCleanupSpanData (pDrawable, pGC, spanData)
{
if (pGC->lineStyle == LineDoubleDash)
{
- unsigned long oldPixel, pixel;
+ XID oldPixel, pixel;
pixel = pGC->bgPixel;
oldPixel = pGC->fgPixel;
if (pixel != oldPixel)
{
- DoChangeGC (pGC, GCForeground, (XID *)&pixel, FALSE);
+ DoChangeGC (pGC, GCForeground, &pixel, FALSE);
ValidateGC (pDrawable, pGC);
}
miFillUniqueSpanGroup (pDrawable, pGC, &spanData->bgGroup);
miFreeSpanGroup (&spanData->bgGroup);
if (pixel != oldPixel)
{
- DoChangeGC (pGC, GCForeground, (XID *)&oldPixel, FALSE);
+ DoChangeGC (pGC, GCForeground, &oldPixel, FALSE);
ValidateGC (pDrawable, pGC);
}
}