From f8cf5e373c6d04e7438b04ff89a96e83c7558e29 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 23 Jun 2015 11:46:29 -0700 Subject: [PATCH] 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 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/x11/mutter-Xatomtype.h b/src/x11/mutter-Xatomtype.h index 793a3aef3..ed3e1f781 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 */