unsigned long is needlessly large on LP64. Use uint32_t instead. Signed-off-by: Adam Jackson <[email protected]> --- include/misc.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/misc.h b/include/misc.h index 0717db6..386d295 100644 --- a/include/misc.h +++ b/include/misc.h @@ -79,6 +79,7 @@ OF THIS SOFTWARE. #include <X11/Xdefs.h> #include <stddef.h> +#include <stdint.h> #ifndef MAXSCREENS #define MAXSCREENS 16 @@ -91,7 +92,7 @@ OF THIS SOFTWARE. #define EXTENSION_EVENT_BASE 64 #define EXTENSION_BASE 128 -typedef unsigned long ATOM; +typedef uint32_t ATOM; #ifndef TRUE #define TRUE 1 -- 1.7.3.5 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
