summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 10:53:17 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-08 10:53:17 -0700
commitaef092e0290143c2b8b1cb98fdf55c9630032aaf (patch)
treeb3b591bc257b5780dbd4f25c1b311f0b9646235f
parent511b231ded61159ebd70cab020ca1ca003fd0784 (diff)
fix compiler warnings in Xprint/ps/PsPolygon.c
-rw-r--r--Xprint/ps/PsPolygon.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xprint/ps/PsPolygon.c b/Xprint/ps/PsPolygon.c
index a1ae67f8d..c4c30bc79 100644
--- a/Xprint/ps/PsPolygon.c
+++ b/Xprint/ps/PsPolygon.c
@@ -215,8 +215,6 @@ PsPolyFillRect(
*/
if (nRects == 1)
{
- extern Bool noDbeExtension;
-
if ( (pRects[0].x==0) && (pRects[0].y==0) &&
(pRects[0].width==pDrawable->width) && (pRects[0].height==pDrawable->height) &&
(pGC->fillStyle == FillSolid) &&
@@ -227,7 +225,7 @@ PsPolyFillRect(
#endif /* DEBUG_gismobile */
/* Remove all content from the pixmap as it would be covered
* by the whole rect anyway */
- PsScrubPixmap(pDrawable);
+ PsScrubPixmap((PixmapPtr)pDrawable);
}
}
#endif /* DBE */