dix: Define RESTYPE as uint32_t

long is needlessly long on LP64.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2011-02-28 17:12:26 -05:00
parent 1f2bc777f9
commit 016edc1751

View File

@ -56,7 +56,7 @@ SOFTWARE.
/* classes for Resource routines */
typedef unsigned long RESTYPE;
typedef uint32_t RESTYPE;
#define RC_VANILLA ((RESTYPE)0)
#define RC_CACHED ((RESTYPE)1<<31)