aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/mi/migc.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/mi/migc.c')
-rw-r--r--nx-X11/programs/Xserver/mi/migc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/mi/migc.c b/nx-X11/programs/Xserver/mi/migc.c
index 0cffe98a4..2b38b257d 100644
--- a/nx-X11/programs/Xserver/mi/migc.c
+++ b/nx-X11/programs/Xserver/mi/migc.c
@@ -114,14 +114,14 @@ void
miChangeClip(pGC, type, pvalue, nrects)
GCPtr pGC;
int type;
- pointer pvalue;
+ void *pvalue;
int nrects;
{
(*pGC->funcs->DestroyClip) (pGC);
if (type == CT_PIXMAP)
{
/* convert the pixmap to a region */
- pGC->clientClip = (pointer) BITMAP_TO_REGION(pGC->pScreen,
+ pGC->clientClip = (void *) BITMAP_TO_REGION(pGC->pScreen,
(PixmapPtr) pvalue);
(*pGC->pScreen->DestroyPixmap) (pvalue);
}
@@ -132,7 +132,7 @@ miChangeClip(pGC, type, pvalue, nrects)
}
else if (type != CT_NONE)
{
- pGC->clientClip = (pointer) RECTS_TO_REGION(pGC->pScreen, nrects,
+ pGC->clientClip = (void *) RECTS_TO_REGION(pGC->pScreen, nrects,
(xRectangle *) pvalue,
type);
xfree(pvalue);
@@ -160,7 +160,7 @@ miCopyClip(pgcDst, pgcSrc)
prgnNew = REGION_CREATE(pgcSrc->pScreen, NULL, 1);
REGION_COPY(pgcDst->pScreen, prgnNew,
(RegionPtr) (pgcSrc->clientClip));
- (*pgcDst->funcs->ChangeClip) (pgcDst, CT_REGION, (pointer) prgnNew, 0);
+ (*pgcDst->funcs->ChangeClip) (pgcDst, CT_REGION, (void *) prgnNew, 0);
break;
}
}