From aef092e0290143c2b8b1cb98fdf55c9630032aaf Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 8 Jun 2006 10:53:17 -0700 Subject: [PATCH] fix compiler warnings in Xprint/ps/PsPolygon.c --- Xprint/ps/PsPolygon.c | 4 +--- 1 file changed, 1 insertion(+), 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 */