[mutter] mutter-Xatomtype: Fix the sizes of these structs



commit f8cf5e373c6d04e7438b04ff89a96e83c7558e29
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Jun 23 11:46:29 2015 -0700

    mutter-Xatomtype: Fix the sizes of these structs
    
    Since we're using xcb now, not Xlib, it doesn't have the stupid silly
    thing where it copies all 32-bit data to 64-bit data to match the
    long-y-ness of it.

 src/x11/mutter-Xatomtype.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/x11/mutter-Xatomtype.h b/src/x11/mutter-Xatomtype.h
index 793a3ae..ed3e1f7 100644
--- a/src/x11/mutter-Xatomtype.h
+++ b/src/x11/mutter-Xatomtype.h
@@ -60,10 +60,10 @@ SOFTWARE.
 #ifndef _XATOMTYPE_H_
 #define _XATOMTYPE_H_
 
-#define BOOL long
-#define SIGNEDINT long
-#define UNSIGNEDINT unsigned long
-#define RESOURCEID unsigned long
+#define BOOL int32_t
+#define SIGNEDINT int32_t
+#define UNSIGNEDINT uint32_t
+#define RESOURCEID uint32_t
 
 
 /* this structure may be extended, but do not change the order */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]