mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-29 09:20:43 +02:00
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:
parent
1f2bc777f9
commit
016edc1751
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue