[PATCH 2/8] dix: Fix ATOM typedef
Adam Jackson
ajax at redhat.com
Mon Mar 7 08:28:12 PST 2011
unsigned long is needlessly large on LP64. Use unsigned int instead.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
include/misc.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/misc.h b/include/misc.h
index 0717db6..7c97fae 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -91,7 +91,7 @@ OF THIS SOFTWARE.
#define EXTENSION_EVENT_BASE 64
#define EXTENSION_BASE 128
-typedef unsigned long ATOM;
+typedef unsigned int ATOM;
#ifndef TRUE
#define TRUE 1
--
1.7.3.5
More information about the xorg-devel
mailing list