[PATCH 7/7] dix: Fix types in WindowOptRec

Adam Jackson ajax at redhat.com
Thu Sep 20 13:56:08 PDT 2012


No reason for these to be 64 bits on LP64.

Reviewed-by: Daniel Stone <daniel at fooishbar.org>
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 include/windowstr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/windowstr.h b/include/windowstr.h
index 9caafba..a1e608f 100644
--- a/include/windowstr.h
+++ b/include/windowstr.h
@@ -86,8 +86,8 @@ typedef struct _WindowOpt {
     struct _OtherClients *otherClients; /* default: NULL */
     struct _GrabRec *passiveGrabs;      /* default: NULL */
     PropertyPtr userProps;      /* default: NULL */
-    unsigned long backingBitPlanes;     /* default: ~0L */
-    unsigned long backingPixel; /* default: 0 */
+    CARD32 backingBitPlanes;    /* default: ~0L */
+    CARD32 backingPixel;        /* default: 0 */
     RegionPtr boundingShape;    /* default: NULL */
     RegionPtr clipShape;        /* default: NULL */
     RegionPtr inputShape;       /* default: NULL */
-- 
1.7.7.6



More information about the xorg-devel mailing list