dix: Fix ATOM typedef
unsigned long is needlessly large on LP64. Use uint32_t instead. Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
7ca75abbbd
commit
51f353d0a0
|
@ -79,6 +79,7 @@ OF THIS SOFTWARE.
|
||||||
#include <X11/Xdefs.h>
|
#include <X11/Xdefs.h>
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifndef MAXSCREENS
|
#ifndef MAXSCREENS
|
||||||
#define MAXSCREENS 16
|
#define MAXSCREENS 16
|
||||||
|
@ -91,7 +92,7 @@ OF THIS SOFTWARE.
|
||||||
#define EXTENSION_EVENT_BASE 64
|
#define EXTENSION_EVENT_BASE 64
|
||||||
#define EXTENSION_BASE 128
|
#define EXTENSION_BASE 128
|
||||||
|
|
||||||
typedef unsigned long ATOM;
|
typedef uint32_t ATOM;
|
||||||
|
|
||||||
#ifndef TRUE
|
#ifndef TRUE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
|
Loading…
Reference in New Issue