[Xcb-commit] xcb-util

Vincent Torri doursse at kemper.freedesktop.org
Tue May 2 14:59:12 PDT 2006


 xcb-util/image/xcb_image.h |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

New commits:
diff-tree 1d9d22aa5bc092cf65f8b1deb421d897a8e3032e (from ff055ed3bcc000bc87f9fae7d5ad6c9d663d824a)
Author: TORRI Vincent <torri at doursse.(none)>
Date:   Tue May 2 23:54:53 2006 +0200

    I did'nt see that XCBAllPlanes already exists... Use CARD32 instead of unsigned long because plane_mask is a CARD32

diff --git a/xcb-util/image/xcb_image.h b/xcb-util/image/xcb_image.h
index 9321b8e..a79f179 100644
--- a/xcb-util/image/xcb_image.h
+++ b/xcb-util/image/xcb_image.h
@@ -5,9 +5,6 @@
 #include <X11/XCB/shm.h>
 
 
-#define XCBImageAllPlanes ((CARD32)~0L)
-
-
 /**
  * @defgroup XCB_Image XCB Image Functions
  *
@@ -112,7 +109,7 @@ int XCBImageInit (XCBImage *image);
  */
 int XCBImageDestroy (XCBImage *image);
 
-#define XCBAllPlanes ((unsigned long)~0L)
+#define XCBAllPlanes ((CARD32)~0L)
 
 /**
  * Return a pointer to a XCBImage.


More information about the xcb-commit mailing list