xserver: Branch 'master'

Greg Kroah-Hartman gregkh at kemper.freedesktop.org
Thu Jun 8 20:55:50 EEST 2006


 Xprint/ps/PsPolygon.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

New commits:
diff-tree aef092e0290143c2b8b1cb98fdf55c9630032aaf (from 511b231ded61159ebd70cab020ca1ca003fd0784)
Author: Greg Kroah-Hartman <gregkh at suse.de>
Date:   Thu Jun 8 10:53:17 2006 -0700

    fix compiler warnings in Xprint/ps/PsPolygon.c

diff --git a/Xprint/ps/PsPolygon.c b/Xprint/ps/PsPolygon.c
index a1ae67f..c4c30bc 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 */



More information about the xorg-commit mailing list